llvm-project
fa3ec0c1 - [VPlan] Materialize constant vector trip counts before final opts. (#142309)

Commit
70 days ago
[VPlan] Materialize constant vector trip counts before final opts. (#142309) Materialize constant vector trip counts before ::execute, if the trip count can be computed as Original (TC / (VF * UF)) * (VF * UF). For now this excludes when the tail is folded or scalar epilogues are required. This enables removing a number of redundant branches from the middle block. For now this is also only done when not vectorizing the epilogue, as the simplification complicates stitching the 2 plans together. PR: https://github.com/llvm/llvm-project/pull/142309
Author
Parents
Loading