[PATCH] D159499: [InstCombine] Fold or(phi1,phi2) into or(icmp1,icmp2)

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 09:26:01 PDT 2023


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

Update patch with a separate function definition to handle cmp(or(phi,phi)).
New test added without loops.


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

https://reviews.llvm.org/D159499

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/phi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159499.556866.patch
Type: text/x-patch
Size: 7897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230915/64c26a42/attachment.bin>


More information about the llvm-commits mailing list