We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda098a commit da116bdCopy full SHA for da116bd
clang/lib/CodeGen/Targets/Sparc.cpp
@@ -266,7 +266,7 @@ SparcV9ABIInfo::classifyType(QualType Ty, unsigned SizeLimit) const {
266
// All structs, even empty ones, should take up a register argument slot,
267
// so pin the minimum struct size to one bit.
268
CB.pad(llvm::alignTo(
269
- std::max(CB.DL.getTypeSizeInBits(StrTy).getKnownMinValue(), 1UL), 64));
+ std::max(CB.DL.getTypeSizeInBits(StrTy).getKnownMinValue(), 1ULL), 64));
270
271
// Try to use the original type for coercion.
272
llvm::Type *CoerceTy = CB.isUsableType(StrTy) ? StrTy : CB.getType();
0 commit comments