[PATCH] D44997: [InstCombine] Fold compare of int constant against an integer vector splat

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 08:10:39 PDT 2018


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

- Generalize to predicates other than just (in)equality.


Repository:
  rL LLVM

https://reviews.llvm.org/D44997

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44997.140258.patch
Type: text/x-patch
Size: 7586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/14fd8916/attachment.bin>


More information about the llvm-commits mailing list