[PATCH] D157740: [WIP] [InstCombine] Fold icmp into phi beyond the same BB.

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 13:10:59 PDT 2023


bipmis updated this revision to Diff 555487.
bipmis added a comment.

Updated patch to use the result by prints. Avoids the optimization of conditions and passes the test.


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

https://reviews.llvm.org/D157740

Files:
  compiler-rt/test/dfsan/conditional_callbacks.c
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-constant-phi.ll
  llvm/test/Transforms/InstCombine/phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157740.555487.patch
Type: text/x-patch
Size: 6334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/13bca341/attachment.bin>


More information about the llvm-commits mailing list