Skip to content

Commit 1e7446f

Browse files
authored
[X86] Correct an assertion message (NFC) (#149386)
I introduced this in a78a0f8 ("[X86] Align f128 and i128 to 16 bytes"). Correct the message here.
1 parent 3f991f5 commit 1e7446f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86CallingConv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ static bool CC_X86_32_I128_FP128(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
389389
if (!ArgFlags.isInConsecutiveRegsLast())
390390
return true;
391391

392-
assert(PendingMembers.size() == 4 && "Should have two parts");
392+
assert(PendingMembers.size() == 4 && "Should have four parts");
393393

394394
int64_t Offset = State.AllocateStack(16, Align(16));
395395
PendingMembers[0].convertToMem(Offset);

0 commit comments

Comments
 (0)