[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Sep 17 22:25:31 PDT 2005
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.376 -> 1.377
---
Log message:
fix typeo
---
Diffs of the changes: (+1 -1)
InstructionCombining.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.376 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.377
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.376 Sun Sep 18 00:12:51 2005
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Sun Sep 18 00:25:20 2005
@@ -3387,7 +3387,7 @@
if (isLeftShift && XS->hasOneUse() && XS->getOperand(1) == CUI &&
XS->getOpcode() == Instruction::Shr) {
Instruction *YS = new ShiftInst(Instruction::Shl,
- Op0BO->getOperand(0), CUI,
+ Op0BO->getOperand(1), CUI,
Op0BO->getName());
InsertNewInstBefore(YS, I); // (Y << C)
Instruction *X = BinaryOperator::create(Op0BO->getOpcode(), YS,
More information about the llvm-commits
mailing list