[llvm] 853ed3b - [InlineAsmLowering] unsigned -> TypeSize for getTypeStoreSize result
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 17 01:21:55 PST 2025
Author: pvanhout
Date: 2025-11-17T10:21:43+01:00
New Revision: 853ed3b3b7d891d4fc6b140ded9326381047cb7c
URL: https://github.com/llvm/llvm-project/commit/853ed3b3b7d891d4fc6b140ded9326381047cb7c
DIFF: https://github.com/llvm/llvm-project/commit/853ed3b3b7d891d4fc6b140ded9326381047cb7c.diff
LOG: [InlineAsmLowering] unsigned -> TypeSize for getTypeStoreSize result
Added:
Modified:
llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp b/llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
index a8661ce629a4f..5166090ba4e05 100644
--- a/llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
@@ -479,7 +479,7 @@ bool InlineAsmLowering::lowerInlineAsm(
// Needs to be made indirect. Store the value on the stack and use
// a pointer to it.
Value *OpVal = OpInfo.CallOperandVal;
- unsigned Bytes = DL.getTypeStoreSize(OpVal->getType());
+ TypeSize Bytes = DL.getTypeStoreSize(OpVal->getType());
Align Alignment = DL.getPrefTypeAlign(OpVal->getType());
int FrameIdx =
MF.getFrameInfo().CreateStackObject(Bytes, Alignment, false);
More information about the llvm-commits
mailing list