[PATCH] D25913: [InstCombine] Fold nuw left-shifts in `ugt`/`ule` comparisons.

bryant via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 14:32:16 PDT 2016


bryant updated this revision to Diff 75649.
bryant added a comment.

Add tests to handle uge (`icmp_uge_8x2`) and ult (`icmp_ult_8`). Also add vector test directly affected by this patch (`icmp_ugt_16x2`).


Repository:
  rL LLVM

https://reviews.llvm.org/D25913

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/icmp-shl-zext-simplify.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25913.75649.patch
Type: text/x-patch
Size: 3541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161024/45bdc2c2/attachment.bin>


More information about the llvm-commits mailing list