llvm-project
4d3148d9 - [LV][EVL] Fix the check for legality of folding with EVL. (#125678)

Commit
1 year ago
[LV][EVL] Fix the check for legality of folding with EVL. (#125678) The current legality check for folding with EVL has incomplete verification for VF. This patch fixes the VF check, ensuring that tail folding with EVL is enabled only when a scalable VF is available. This allows loops that prefer tail folding with EVL but cannot use scalable VF vectorization to still be vectorized using a fixed VF, rather than abandoning vectorization entirely.
Author
Parents
Loading