[Bug 265949] llvm prints warnings like: The function '%142 = OpFunction %7 None %134' could not be inlined because the return instruction is not at the end of the function. This could be fixed by running merge-return before inlining.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Aug 2022 18:08:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265949

--- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
I'll note that the i386 build fails for the likes of:

/wrkdirs/usr/ports/graphics/filament/work/filament-1.25.5/libs/bluegl/src/BlueGLCoreLinuxImpl.S:25:52:
error: register %rip is only available in 64-bit mode
    mov __blue_glCore_glVertexAttrib4dARB@GOTPCREL(%rip), %r11
                                                   ^~~~
/wrkdirs/usr/ports/graphics/filament/work/filament-1.25.5/libs/bluegl/src/BlueGLCoreLinuxImpl.S:26:11:
error: register %r11 is only available in 64-bit mode
    jmp *(%r11)
          ^~~~

See:

http://beefy15.nyi.freebsd.org/data/130i386-default/97c2cf505715/logs/errors/filament-1.25.5.log

-- 
You are receiving this mail because:
You are the assignee for the bug.