[PATCH] D29774: [InstCombine] fold icmp sgt/slt (add nsw X, C2), C --> icmp sgt/slt X, (C - C2)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 08:52:12 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL294898: [InstCombine] fold icmp sgt/slt (add nsw X, C2), C --> icmp sgt/slt X, (C - C2) (authored by spatel).

Changed prior to commit:
  https://reviews.llvm.org/D29774?vs=87837&id=88138#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29774

Files:
  llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/trunk/test/Transforms/InstCombine/icmp-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29774.88138.patch
Type: text/x-patch
Size: 4600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170212/3039d0cb/attachment.bin>


More information about the llvm-commits mailing list