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: tstel...@redhat.com
Reporter: mohammad.fa...@intel.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs