aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-18 05:12:51 +0000
committerChris Lattner <sabre@nondot.org>2005-09-18 05:12:51 +0000
commit0d947ea94374c8a25e1304125600e4ac461b19df (patch)
treee315a0f3675a6064125df0974a42e8842c270015
parent11021cb9889669505b54c397c028c2d673900591 (diff)
Remove unintentionally committed code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23382 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 2d7adf4ea8..63d77685a7 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -3368,7 +3368,6 @@ Instruction *InstCombiner::visitShiftInst(ShiftInst &I) {
if (ShiftInst *XS = dyn_cast<ShiftInst>(Op0BO->getOperand(1)))
if (isLeftShift && XS->hasOneUse() && XS->getOperand(1) == CUI &&
XS->getOpcode() == Instruction::Shr) {
- break;
Instruction *YS = new ShiftInst(Instruction::Shl,
Op0BO->getOperand(0), CUI,
Op0BO->getName());
@@ -3379,7 +3378,6 @@ Instruction *InstCombiner::visitShiftInst(ShiftInst &I) {
InsertNewInstBefore(X, I); // (X + (Y << C))
Constant *C2 = ConstantInt::getAllOnesValue(X->getType());
C2 = ConstantExpr::getShl(C2, CUI);
- std::cerr << "FOLD1: " << *Op0BO;
return BinaryOperator::createAnd(X, C2);
}
// Fall through.
@@ -3398,7 +3396,6 @@ Instruction *InstCombiner::visitShiftInst(ShiftInst &I) {
InsertNewInstBefore(X, I); // (X + (Y << C))
Constant *C2 = ConstantInt::getAllOnesValue(X->getType());
C2 = ConstantExpr::getShl(C2, CUI);
- std::cerr << "FOLD2: " << *Op0BO;
return BinaryOperator::createAnd(X, C2);
}
break;