[llvm-bugs] [Bug 49638] New: [BasicAA] @llvm.annotation implies MustMod

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 19 00:09:39 PDT 2021


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

            Bug ID: 49638
           Summary: [BasicAA] @llvm.annotation implies MustMod
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: clement.courbet at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

@llvm.annotation is supposed to be ignored by code generation and optimization:
https://llvm.org/docs/LangRef.html#llvm-annotation-intrinsic

However BasicAA considers that it may write to memory, so loads cannot be moved
across annotations.

-- 
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/20210319/909b9cb8/attachment.html>


More information about the llvm-bugs mailing list