We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfe4ce3 commit 4c72266Copy full SHA for 4c72266
llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -961,7 +961,7 @@ bool TargetLoweringBase::shouldUpdatePointerArgAlignment(
961
// efficiently. If this is not the case for a given target it should override
962
// this function.
963
auto PrefSizeBits =
964
- TTI.getRegisterBitWidth(TargetTransformInfo::RGK_Scalar).getFixedSize();
+ TTI.getRegisterBitWidth(TargetTransformInfo::RGK_Scalar).getFixedValue();
965
PrefAlign = Align(PrefSizeBits / 8);
966
// When building with -Oz, we only increase the alignment if the object is
967
// at least 8 bytes in size to avoid increased stack/global padding.
0 commit comments