Fix the regressions on sext-misc.ll my patch yesterday caused.
authorChris Lattner <sabre@nondot.org>
Wed, 18 Jun 2008 18:11:55 +0000 (18:11 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Jun 2008 18:11:55 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52466 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp

index 802102c99a2d4c4e5a64e317fdf2dfdce9bcbf64..4409380bd7a82ab80ba1c5f55d23dee683f1e7f2 100644 (file)
@@ -1343,6 +1343,7 @@ bool InstCombiner::SimplifyDemandedBits(Value *V, APInt DemandedMask,
       }
       }
     }
+    ComputeMaskedBits(V, DemandedMask, RHSKnownZero, RHSKnownOne, Depth);
     break;
   }