InstCombine: Remove redundant combines
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 28 Aug 2014 10:08:37 +0000 (10:08 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 28 Aug 2014 10:08:37 +0000 (10:08 +0000)
commit0b16ed7f1c7a4ada10b2aea1487c1f5dba8b4384
tree635ebde807094dd9f75f1ead0c484f321b47a14f
parentc84ba857eab2e943c6a7e9fe72d0f015f8a1c274
InstCombine: Remove redundant combines

InstSimplify already handles icmp (X+Y), X (and things like it)
appropriately.  The first thing that InstCombine does is run
InstSimplify on the instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216659 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp