diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-09-18 05:25:20 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-09-18 05:25:20 +0000 |
| commit | 4ebc8ab4e0bb69dd7abfe04f80e49e5f217cdeb9 (patch) | |
| tree | e1e9265d8b1df068ec5a9f025ffb0bc97f07b850 /llvm/lib/Transforms | |
| parent | e5b23a6d678f7214a39961d205d97b921470ede4 (diff) | |
| download | bcm5719-llvm-4ebc8ab4e0bb69dd7abfe04f80e49e5f217cdeb9.tar.gz bcm5719-llvm-4ebc8ab4e0bb69dd7abfe04f80e49e5f217cdeb9.zip | |
fix typeo
llvm-svn: 23383
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 63d77685a71..37e1f3f6ba4 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -3387,7 +3387,7 @@ Instruction *InstCombiner::visitShiftInst(ShiftInst &I) { 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, |

