Skip to content

Commit a91c174

Browse files
committed
GlobalISel: Fix copy paste error
Pretty sure this was harmless since the tablegen calling convention definitions do not use pointers. Part of issue 58604
1 parent fc40c73 commit a91c174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/GlobalISel/CallLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ static bool isCopyCompatibleType(LLT SrcTy, LLT DstTy) {
12201220
DstTy = DstTy.getScalarType();
12211221

12221222
return (SrcTy.isPointer() && DstTy.isScalar()) ||
1223-
(DstTy.isScalar() && SrcTy.isPointer());
1223+
(DstTy.isPointer() && SrcTy.isScalar());
12241224
}
12251225

12261226
void CallLowering::IncomingValueHandler::assignValueToReg(Register ValVReg,

0 commit comments

Comments
 (0)