[PATCH] D20289: [InstCombine] check vector elements before trying to transform LE/GE vector icmp (PR27756)

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 10:55:51 PDT 2016


spatel updated this revision to Diff 57372.
spatel added a comment.

Patch updated:
Simplify check for transform to use operand type (we just need a vector constant of some kind).


http://reviews.llvm.org/D20289

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20289.57372.patch
Type: text/x-patch
Size: 5982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/3e880e36/attachment.bin>


More information about the llvm-commits mailing list