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 | 5aa7666ebe5acaa0195ffc99ff5a6d3fe4896751 (patch) | |
tree | 7d7a73af71ff9331e1c7fa5bb7ca2c3e353f03ad | |
parent | 0d947ea94374c8a25e1304125600e4ac461b19df (diff) |
fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23383 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 63d77685a7..37e1f3f6ba 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/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, |