[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 14:51:40 PDT 2016


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

Patch updated:

1. Refactored to use the same main logic path for scalar/vector.
2. Replace switches with ?: ops.
3. Eliminate lambda.
4. Remove unused Builder param.


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.57405.patch
Type: text/x-patch
Size: 7372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/4128e31c/attachment.bin>


More information about the llvm-commits mailing list