[PATCH] D77604: [MachineCSE] Don't carry the wrong location when hoisting

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 6 16:22:11 PDT 2020


davide created this revision.
davide added reviewers: vsk, aprantl.
Herald added a subscriber: hiraditya.
davide added a reviewer: jmorse.
davide added a comment.
davide updated this revision to Diff 255532.

Thanks to Jeremy for helping with the analysis!


davide added a comment.

Cleaned up testcase. Apparently TBAA is needed.


Fixes https://bugs.llvm.org/show_bug.cgi?id=45425 and rdar://problem/61359768


https://reviews.llvm.org/D77604

Files:
  llvm/lib/CodeGen/MachineCSE.cpp
  llvm/test/DebugInfo/X86/machinecse-wrongdebug-hoist.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77604.255532.patch
Type: text/x-patch
Size: 4880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200406/108e2f56/attachment.bin>


More information about the llvm-commits mailing list