[llvm] [TargetLowering] Use Correct VT for Multi-out Asm (PR #116024)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 09:04:16 PST 2024
================
@@ -5753,7 +5753,8 @@ TargetLowering::ParseConstraints(const DataLayout &DL,
assert(!Call.getType()->isVoidTy() && "Bad inline asm!");
if (auto *STy = dyn_cast<StructType>(Call.getType())) {
OpInfo.ConstraintVT =
- getSimpleValueType(DL, STy->getElementType(ResNo));
+ getAsmOperandValueType(DL, STy->getElementType(ResNo))
+ .getSimpleVT();
----------------
arsenm wrote:
What happens for nested structs? Are those supported?
https://github.com/llvm/llvm-project/pull/116024
More information about the llvm-commits
mailing list