[PATCH] D71164: [InstCombine] Fix infinite loop due to bitcast <-> phi transforms

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 03:41:19 PST 2019


nikic updated this revision to Diff 235701.
nikic added a comment.
This revision is now accepted and ready to land.

Directly remove the instruction, to make sure potential phi cycles also get immediately removed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71164/new/

https://reviews.llvm.org/D71164

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/pr44245.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71164.235701.patch
Type: text/x-patch
Size: 6978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191231/8c4bcd3d/attachment.bin>


More information about the llvm-commits mailing list