[PATCH] D107170: [InstCombine] canonicalize cmp-of-bitcast-of-vector-cmp to use zero constant
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 30 15:23:44 PDT 2021
spatel updated this revision to Diff 363224.
spatel added a comment.
Patch updated:
Use isFreeToInvert for more general pattern match. I added some tests to exercise that, and it also gives a few more diffs in the existing PhaseOrdering test file via matching fcmp.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107170/new/
https://reviews.llvm.org/D107170
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/test/Transforms/InstCombine/icmp-vec.ll
llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107170.363224.patch
Type: text/x-patch
Size: 15015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210730/074c0c4e/attachment.bin>
More information about the llvm-commits
mailing list