[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
Tue Feb 13 22:46:31 PST 2018


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

Add directed tests. I believe there are some missing optimizations due to not enabling canonicalization of GE/LE to GT/LT for vectors.


Repository:
  rL LLVM

https://reviews.llvm.org/D42948

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/X86/avx512-insert-extract.ll
  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: D42948.134162.patch
Type: text/x-patch
Size: 24552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180214/2545dfc8/attachment.bin>


More information about the llvm-commits mailing list