[llvm] [AArch64] Add getStreamingHazardSize() to AArch64Subtarget (PR #113679)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 25 08:45:53 PDT 2024
================
@@ -472,7 +482,8 @@ AArch64TargetMachine::getSubtargetImpl(const Function &F) const {
resetTargetOptions(F);
I = std::make_unique<AArch64Subtarget>(
TargetTriple, CPU, TuneCPU, FS, *this, isLittle, MinSVEVectorSize,
- MaxSVEVectorSize, IsStreaming, IsStreamingCompatible, HasMinSize);
+ MaxSVEVectorSize, IsStreaming, IsStreamingCompatible,
+ StreamingHazardSize, HasMinSize);
----------------
MacDue wrote:
Not particularly, I was mainly following how other values are passed via the constructor. Are you suggesting to move the `cl::opt` to the top of `AArch64Subtarget.cpp` instead (then set the member value in the ctor body)?
https://github.com/llvm/llvm-project/pull/113679
More information about the llvm-commits
mailing list