Given how small the function is and how often it gets used it
makes more sense to live in the header file.
Differential Revision: https://reviews.llvm.org/D117883
MFI.computeMaxCallFrameSize(MF);
}
-bool AArch64Subtarget::useSVEForFixedLengthVectors() const {
- // Prefer NEON unless larger SVE registers are available.
- return hasSVE() && getMinSVEVectorSizeInBits() >= 256;
-}
-
bool AArch64Subtarget::useAA() const { return UseAA; }
return MinSVEVectorSizeInBits;
}
- bool useSVEForFixedLengthVectors() const;
+ bool useSVEForFixedLengthVectors() const {
+ // Prefer NEON unless larger SVE registers are available.
+ return hasSVE() && getMinSVEVectorSizeInBits() >= 256;
+ }
unsigned getVScaleForTuning() const { return VScaleForTuning; }
};