[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: Mon, 22 Aug 2022 02:44:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265949

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
I tried building for armv7 and it gets the same sort of errors as
i386 does:

/wrkdirs/usr/ports/graphics/filament/work/filament-1.25.5/libs/bluegl/src/BlueGLCoreLinuxImpl.S:25:5:
error: invalid instruction
    mov __blue_glCore_glVertexAttrib4dARB@GOTPCREL(%rip), %r11
    ^
/wrkdirs/usr/ports/graphics/filament/work/filament-1.25.5/libs/bluegl/src/BlueGLCoreLinuxImpl.S:26:9:
error: unexpected token in operand
    jmp *(%r11)
        ^
. . .

(It looked like it would be some time before a FreeBSD server
would try an armv7 build. So, after updating /usr/ports/ for
other reasons, I tried this experiment.)

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