[llvm] [LV] Don't ignore invariant stores when costing (PR #158682)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 03:26:25 PDT 2025
https://github.com/fhahn approved this pull request.
> > Hmm, does that mean we now compute the cost of the scalar store for VF = 1, whereas before we would not compute it?
>
> Yes, I think so.
Ok, that should be more accurate, as the scalar loop must execute the store on each iteration.
LGTM thanks.
https://github.com/llvm/llvm-project/pull/158682
More information about the llvm-commits
mailing list