Skip to content

Commit 853ed3b

Browse files
committed
[InlineAsmLowering] unsigned -> TypeSize for getTypeStoreSize result
1 parent b07bfdb commit 853ed3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ bool InlineAsmLowering::lowerInlineAsm(
479479
// Needs to be made indirect. Store the value on the stack and use
480480
// a pointer to it.
481481
Value *OpVal = OpInfo.CallOperandVal;
482-
unsigned Bytes = DL.getTypeStoreSize(OpVal->getType());
482+
TypeSize Bytes = DL.getTypeStoreSize(OpVal->getType());
483483
Align Alignment = DL.getPrefTypeAlign(OpVal->getType());
484484
int FrameIdx =
485485
MF.getFrameInfo().CreateStackObject(Bytes, Alignment, false);

0 commit comments

Comments
 (0)