[llvm-commits] [llvm] r124567 - in /llvm/trunk: lib/Transforms/InstCombine/InstCombineCompares.cpp test/Transforms/InstCombine/add.ll
Duncan Sands
baldrick at free.fr
Mon Jan 31 00:43:21 PST 2011
Hi Anders,
> Recognize and simplify
>
> (A+B) == A -> B == 0
> A == (A+B) -> B == 0
there are similar transforms for subtraction and xor.
Ciao, Duncan.
More information about the llvm-commits
mailing list