[PATCH] D37253: [InstCombine] Support vector splats in transformZExtICmp

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 00:04:20 PDT 2017


craig.topper created this revision.

This patch adds splat support to transformZExtICmp. The test cases are vector versions of tests that failed when commenting out parts of the existing scalar code.

One test didn't vectorize optimize properly due to another bug so a TODO has been added.


https://reviews.llvm.org/D37253

Files:
  lib/Transforms/InstCombine/InstCombineCasts.cpp
  test/Transforms/InstCombine/compare-signs.ll
  test/Transforms/InstCombine/icmp.ll
  test/Transforms/InstCombine/set.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37253.113033.patch
Type: text/x-patch
Size: 7292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170829/56e80fae/attachment.bin>


More information about the llvm-commits mailing list