mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Fix an obvious thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1482,7 +1482,7 @@ Value *SROA::ConvertUsesOfStoreToScalar(StoreInst *SI, AllocaInst *NewAI,
|
|||||||
SV = BinaryOperator::CreateLShr(SV,
|
SV = BinaryOperator::CreateLShr(SV,
|
||||||
ConstantInt::get(SV->getType(),-ShAmt),
|
ConstantInt::get(SV->getType(),-ShAmt),
|
||||||
SV->getName(), SI);
|
SV->getName(), SI);
|
||||||
Mask = Mask.lshr(ShAmt);
|
Mask = Mask.lshr(-ShAmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mask out the bits we are about to insert from the old value, and or
|
// Mask out the bits we are about to insert from the old value, and or
|
||||||
|
Reference in New Issue
Block a user