[llvm-commits] [llvm] r45256 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-19-IcmpSub.ll

Chris Lattner clattner at apple.com
Sat Dec 22 17:48:08 PST 2007


On Dec 19, 2007, at 11:21 PM, Christopher Lamb wrote:

> Author: clamb
> Date: Thu Dec 20 01:21:11 2007
> New Revision: 45256
>
> URL: http://llvm.org/viewvc/llvm-project?rev=45256&view=rev
> Log:
> Implement review feedback, including additional transforms
>
> (icmp slt (sub A B) 1) -> (icmp sle A B)
> icmp sgt (sub A B) -1) -> (icmp sge A B)
>
> and add testcase.

Very nice, thanks Christopher,

-Chris



More information about the llvm-commits mailing list