[PATCH] D43489: [SelectionDAG] Support known true/false SimplifySetCC cases for comparing against vector splats of constants.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 14:58:03 PST 2018
craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon.
This is split off from https://reviews.llvm.org/D42948 and includes just the cases that constant fold to true or false. It also includes some refactoring to keep predicate checks together.
This supports things like
(setcc uge X, 0) -> true
Repository:
rL LLVM
https://reviews.llvm.org/D43489
Files:
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/avx512-mask-op.ll
test/CodeGen/X86/avx512-schedule.ll
test/CodeGen/X86/vector-compare-simplify.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43489.134980.patch
Type: text/x-patch
Size: 16682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180219/b7168743/attachment.bin>
More information about the llvm-commits
mailing list