[llvm-bugs] [Bug 51273] New: Infinite Loop in InstCombine when Volatile memcpy are Present

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 29 13:40:53 PDT 2021


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

            Bug ID: 51273
           Summary: Infinite Loop in InstCombine when Volatile memcpy are
                    Present
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt
          Assignee: tstellar at redhat.com
          Reporter: mohammad.fawaz at intel.com
                CC: llvm-bugs at lists.llvm.org

This issues started happening after
https://github.com/llvm/llvm-project/commit/b373b5990d5991a920c421b21a352e4ccf4c4993

Basically, if the memcpy is volatile, the collectUsers() function should return
false, just like we do for volatile loads.

The fix just got merged into trunk:
https://github.com/llvm/llvm-project/commit/b4d945bacdaf2c60dd5fdb119b90cced73c41beb

The request here is to also merge the change on the 13.x branch. I believe the
first change mentioned above is already on the 13.x branch.

Thanks!

-- 
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/20210729/311af2d7/attachment.html>


More information about the llvm-bugs mailing list