mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d947ea943
commit
5aa7666ebe
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user