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

bryant via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 11:23:08 PDT 2016


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

Simplify since ICmp implies identically typed lhs + rhs.


Repository:
  rL LLVM

https://reviews.llvm.org/D25913

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25913.76607.patch
Type: text/x-patch
Size: 4826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161101/005f1ff1/attachment.bin>


More information about the llvm-commits mailing list