fix typeo

llvm-svn: 23383
This commit is contained in:
Chris Lattner 2005-09-18 05:25:20 +00:00
parent e5b23a6d67
commit 4ebc8ab4e0
1 changed files with 1 additions and 1 deletions

View File

@ -3387,7 +3387,7 @@ Instruction *InstCombiner::visitShiftInst(ShiftInst &I) {
if (isLeftShift && XS->hasOneUse() && XS->getOperand(1) == CUI && if (isLeftShift && XS->hasOneUse() && XS->getOperand(1) == CUI &&
XS->getOpcode() == Instruction::Shr) { XS->getOpcode() == Instruction::Shr) {
Instruction *YS = new ShiftInst(Instruction::Shl, Instruction *YS = new ShiftInst(Instruction::Shl,
Op0BO->getOperand(0), CUI, Op0BO->getOperand(1), CUI,
Op0BO->getName()); Op0BO->getName());
InsertNewInstBefore(YS, I); // (Y << C) InsertNewInstBefore(YS, I); // (Y << C)
Instruction *X = BinaryOperator::create(Op0BO->getOpcode(), YS, Instruction *X = BinaryOperator::create(Op0BO->getOpcode(), YS,