summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
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
commite5b23a6d678f7214a39961d205d97b921470ede4 (patch)
treec073134e75f64ad8d3a1898838baa7cb8480642c /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent27cb9dbd35eb1fd70df5548b5ab47205241dcaad (diff)
downloadbcm5719-llvm-e5b23a6d678f7214a39961d205d97b921470ede4.tar.gz
bcm5719-llvm-e5b23a6d678f7214a39961d205d97b921470ede4.zip
Remove unintentionally committed code
llvm-svn: 23382
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 2d7adf4ea8d..63d77685a71 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud