Skip to content

Commit 3b0198c

Browse files
committed
fixup! [TargetLowering] Use Correct VT for Multi-out Asm
1 parent 7759232 commit 3b0198c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5753,7 +5753,8 @@ TargetLowering::ParseConstraints(const DataLayout &DL,
57535753
assert(!Call.getType()->isVoidTy() && "Bad inline asm!");
57545754
if (auto *STy = dyn_cast<StructType>(Call.getType())) {
57555755
OpInfo.ConstraintVT =
5756-
getAsmOperandValueType(DL, STy->getElementType(ResNo)).getSimpleVT();
5756+
getAsmOperandValueType(DL, STy->getElementType(ResNo))
5757+
.getSimpleVT();
57575758
} else {
57585759
assert(ResNo == 0 && "Asm only has one result!");
57595760
OpInfo.ConstraintVT =

0 commit comments

Comments
 (0)