Move pattern check outside of the if-then statement. This prevents us from fiddling...
authorBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 07:47:02 +0000 (07:47 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 1 Dec 2008 07:47:02 +0000 (07:47 +0000)
commit9c531a0f070b4f16b9dab34685a3687dbc98493a
treea738708e582ae3271e528ec68728ada3abe080ca
parentd0f5bfc9be43997d3d2f09f6616ddbef0df7ddce
Move pattern check outside of the if-then statement. This prevents us from fiddling with constants unless we have to.

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