We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07bfdb commit 853ed3bCopy full SHA for 853ed3b
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
@@ -479,7 +479,7 @@ bool InlineAsmLowering::lowerInlineAsm(
479
// Needs to be made indirect. Store the value on the stack and use
480
// a pointer to it.
481
Value *OpVal = OpInfo.CallOperandVal;
482
- unsigned Bytes = DL.getTypeStoreSize(OpVal->getType());
+ TypeSize Bytes = DL.getTypeStoreSize(OpVal->getType());
483
Align Alignment = DL.getPrefTypeAlign(OpVal->getType());
484
int FrameIdx =
485
MF.getFrameInfo().CreateStackObject(Bytes, Alignment, false);
0 commit comments