[AArch64][SVE] Fix build failure introduced in 13faa5f440

This commit is contained in:
Bradley Smith 2021-10-29 11:56:35 +00:00
parent ae833dbb81
commit bf72a469ba
1 changed files with 1 additions and 1 deletions

View File

@ -12014,7 +12014,7 @@ bool AArch64TargetLowering::hasPairedLoad(EVT LoadedType,
unsigned AArch64TargetLowering::getNumInterleavedAccesses( unsigned AArch64TargetLowering::getNumInterleavedAccesses(
VectorType *VecTy, const DataLayout &DL, bool UseScalable) const { VectorType *VecTy, const DataLayout &DL, bool UseScalable) const {
unsigned VecSize = UseScalable ? Subtarget->getMinSVEVectorSizeInBits() : 128; unsigned VecSize = UseScalable ? Subtarget->getMinSVEVectorSizeInBits() : 128;
return std::max(1UL, (DL.getTypeSizeInBits(VecTy) + 127) / VecSize); return std::max<unsigned>(1, (DL.getTypeSizeInBits(VecTy) + 127) / VecSize);
} }
MachineMemOperand::Flags MachineMemOperand::Flags