[llvm] [LV] Make ScalarEpilogue a LoopVectorizeHint (PR #160125)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 10:20:02 PDT 2025
lukel97 wrote:
> > > as it is really a kind of hint that's dependent on the user's preferences
>
> >
>
> > Aren't loop hints for loop pragmas etc? I don't think the user can control whether or not a scalar epilogue is emitted on a loop by loop basis. `-prefer-predicate-over-epilogue` is more of a TTI override
>
>
>
> Hm, by that reasoning isn't ForceScalableVectorization, which is also a hint, also a TTI override?
The TTI only controls the default. ForceScalableVectorization comes from `#pragma clang loop vectorize_width(4, scalable)` IIRC.
https://github.com/llvm/llvm-project/pull/160125
More information about the llvm-commits
mailing list