mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153322 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
208b6f6944
commit
01b305f94c
@ -574,7 +574,7 @@ void ConvertToScalarInfo::ConvertUsesToScalar(Value *Ptr, AllocaInst *NewAI,
|
||||
// transform it into a store of the expanded constant value.
|
||||
if (MemSetInst *MSI = dyn_cast<MemSetInst>(User)) {
|
||||
assert(MSI->getRawDest() == Ptr && "Consistency error!");
|
||||
int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
|
||||
int64_t SNumBytes = cast<ConstantInt>(MSI->getLength())->getSExtValue();
|
||||
if (SNumBytes > 0 && (SNumBytes >> 32) == 0) {
|
||||
unsigned NumBytes = static_cast<unsigned>(SNumBytes);
|
||||
unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
|
||||
|
Loading…
Reference in New Issue
Block a user