[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
Mon Apr 2 11:23:13 PDT 2018


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

- Following spatel's suggestion -- making the pattern match a little more general by only matching the bitcast + shuffle.


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.140650.patch
Type: text/x-patch
Size: 13787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180402/1b658e62/attachment.bin>


More information about the llvm-commits mailing list