llvm-project
dfb2ff53 - [VPlan] Support interleaving early exit loops with side effects

Commit
7 days ago
[VPlan] Support interleaving early exit loops with side effects We couldn't do this on main previously because the exit mask `active-lane-mask(0, FirstActiveLane(Cond))` doesn't get unrolled properly across parts. Now that we use mask.beforefirst we can unroll it properly in a chain. The unrolled form is: unroll(mask.beforefirst, P) = mask.beforefirst(cond[P] | broadcast(anyof(not(unroll(mask.beforefirst, P-1))))) On AArch64 this can be combined to brkpb in another patch.
Author
Committer
Parents
Loading