[llvm-bugs] [Bug 46945] always_inline is ignored with the new pass manager

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 19 14:55:40 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=46945

Arthur Eubanks <aeubanks at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #3 from Arthur Eubanks <aeubanks at google.com> ---
I took another look at this, and the legacy PM also may inline in the wrong
order. I believe the reason this wasn't an issue in the legacy PM was because
it properly derived noreturn from the infinite recursion and deleted the calls
altogether.

Will try to see if I can fix the attached code without adding an extra
alwaysinline pass.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210119/6436239d/attachment.html>


More information about the llvm-bugs mailing list