[llvm-bugs] [Bug 46737] preserve-alignment-assumptions-during-inlining introduces illegal ptrtoint

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 15 22:13:45 PDT 2020


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

Yichao Yu <yyc1992 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
            Summary|Inlining introduces illegal |preserve-alignment-assumpti
                   |ptrtoint                    |ons-during-inlining
                   |                            |introduces illegal ptrtoint

--- Comment #2 from Yichao Yu <yyc1992 at gmail.com> ---
So this is indeed fixed on master. The issue is the alignment assumption and
commit b74c6d2c9d8e57db96742094cc4daf98a258b412 first disables it by default
and therefore hide the issue which lead to a deadend for my first bisect. The
actual fix came in c95ffadb2474a4d8c4f598d94d35a9f31d9606cb which use operand
bundle to encode the alignment and removes the need for the `ptrtoint`.

-- 
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/20200716/8102dbca/attachment.html>


More information about the llvm-bugs mailing list