[llvm] [LV]Enable max safe distance in predicated DataWithEVL vectorization mode. (PR #100755)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 13:40:01 PST 2024


https://github.com/fhahn commented:

It is quite hard to fully understand what is going on exactly in the code changes. There are some test changes in non EVL tests and tests that do not have any store-load forward dependencies, is this expected?

The patch seems to do 3 separate things
* consider MaxStoreLoadForwardSafeVFPower2
* consider MaxStoreLoadForwardSafeVFNonPower2
* changes behavior in non EVL mode and EVL mode without store-load forward issues?

Can we limit it to MaxStoreLoadForwardSafeVFPower2 initially, to reduce the complexity?

Will the cost model also need to be updated to consider the smaller VF?

https://github.com/llvm/llvm-project/pull/100755


More information about the llvm-commits mailing list