Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2022 19:40:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [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.
Message-ID:  <bug-265949-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265949

            Bug ID: 265949
           Summary: llvm prints warnings like: The function '%142 =3D
                    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.
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Testcase: graphics/filament on amd64

LLVM prints warnings like these:
> WARNING: :0:0:0: The function '%142 =3D OpFunction %7 None %134' could no=
t be inlined because the return instruction is not at the end of the functi=
on. This could be fixed by running merge-return before inlining.
> WARNING: :0:0:0: The function '%229 =3D OpFunction %12 None %221' could n=
ot be inlined because the return instruction is not at the end of the funct=
ion. This could be fixed by running merge-return before inlining.
> WARNING: :0:0:0: The function '%229 =3D OpFunction %12 None %221' could n=
ot be inlined because the return instruction is not at the end of the funct=
ion. This could be fixed by running merge-return before inlining.
> WARNING: :0:0:0: The function '%229 =3D OpFunction %12 None %221' could n=
ot be inlined because the return instruction is not at the end of the funct=
ion. This could be fixed by running merge-return before inlining.
> WARNING: :0:0:0: The function '%229 =3D OpFunction %12 None %221' could n=
ot be inlined because the return instruction is not at the end of the funct=
ion. This could be fixed by running merge-return before inlining.
> WARNING: :0:0:0: The function '%229 =3D OpFunction %12 None %221' could n=
ot be inlined because the return instruction is not at the end of the funct=
ion. This could be fixed by running merge-return before inlining.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265949-227>