[PATCH] D44997: [InstCombine] Fold compare of int constant against a splatted vector of ints

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 07:51:03 PDT 2018


dneilson updated this revision to Diff 140789.
dneilson added a comment.

- Simplify implementation
- Prune tests (remove redundant & unneccessary); all added tests have now been triple checked that they do not simplify/fold even a single instruction without this patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D44997

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  lib/Transforms/InstCombine/InstCombineInternal.h
  test/Transforms/InstCombine/icmp-bc-vec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44997.140789.patch
Type: text/x-patch
Size: 7924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180403/d7ed79be/attachment.bin>


More information about the llvm-commits mailing list