[PATCH] D118061: [InstCombine] fold one-bit set/clear icmp with mul operand
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 24 12:32:49 PST 2022
spatel updated this revision to Diff 402625.
spatel marked an inline comment as done.
spatel added a comment.
Patch updated:
Moved the code into `foldICmpAndConstConst`, so we have more shared matches/captures with existing code.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118061/new/
https://reviews.llvm.org/D118061
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-mul-and.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118061.402625.patch
Type: text/x-patch
Size: 5351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220124/562573cf/attachment.bin>
More information about the llvm-commits
mailing list