[llvm] [LoopVectorizer] Only check register pressure for VFs that have been enabled via maxBandwidth (PR #149056)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 16 07:57:10 PDT 2025
================
@@ -85,8 +85,11 @@ struct VPRegisterUsage {
SmallMapVector<unsigned, unsigned, 4> MaxLocalUsers;
/// Check if any of the tracked live intervals exceeds the number of
- /// available registers for the target.
- bool exceedsMaxNumRegs(const TargetTransformInfo &TTI) const;
+ /// available registers for the target. Specifying OverrideMaxNumRegs
----------------
SamTebbs33 wrote:
I think the added comment could be better worded as "If non-zero, OverrideMaxNumRegs will be used in place of the target's number of registers.".
https://github.com/llvm/llvm-project/pull/149056
More information about the llvm-commits
mailing list