Skip to content

Commit e78426d

Browse files
Update clang/lib/CodeGen/Targets/X86.cpp
Co-authored-by: Eli Friedman <[email protected]>
1 parent 678468d commit e78426d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/Targets/X86.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2536,7 +2536,7 @@ GetINTEGERTypeAtOffset(llvm::Type *IRType, unsigned IROffset,
25362536
// if we have a 128-bit integer, we can pass it safely using an i128
25372537
// so we return that
25382538
if (IRType->isIntegerTy(128)) {
2539-
assert(IROffset <= 8);
2539+
assert(IROffset == 0);
25402540
return IRType;
25412541
}
25422542

0 commit comments

Comments
 (0)