Third time's a charm.
authorBill Wendling <isanbard@gmail.com>
Mon, 10 Nov 2008 06:59:06 +0000 (06:59 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 10 Nov 2008 06:59:06 +0000 (06:59 +0000)
commit11bb6c6d2cc99f9aa699f08c2c304604cfc318db
treed61ad69cc5dbbcc5f36e602f95f6824f697c7d7d
parente18b32eb2451dc9d5f4262ccc4f46a5de712a8d0
Third time's a charm.

The previous patches didn't match correctly. Also, we need to make sure that
the conditional is the same before doing the transformation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58978 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp