[PATCH] D42948: [SelectionDAG] Support some SimplifySetCC cases for comparing against vector splats of constants.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 16:38:04 PST 2018


craig.topper updated this revision to Diff 135557.
craig.topper added a comment.

Change to only allow vector adjustments before legalize ops since the isCondCodeLegal is probably not correct for targets today. But this will at least give us a chance to make some simplifications.


https://reviews.llvm.org/D42948

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/X86/avx512-insert-extract.ll
  test/CodeGen/X86/vector-compare-simplify.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42948.135557.patch
Type: text/x-patch
Size: 10147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180223/fa0844cc/attachment.bin>


More information about the llvm-commits mailing list