You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loop extent is not a multiple of split factor, split would insert a predicate to avoid invalid memory access. However, this would cause a lot of redundant if statements if I unfold the inner loop after split:
I wonder currently do we have solutions to combine these if statements in TIR? If not, can we decompose the outer loop into to parts (non-tail and tail), and only apply unroll for the non-tail part?
When loop extent is not a multiple of split factor, split would insert a predicate to avoid invalid memory access. However, this would cause a lot of redundant if statements if I unfold the inner loop after split:
The result is:
The inserted if statements would harm ILP.
I wonder currently do we have solutions to combine these if statements in TIR? If not, can we decompose the outer loop into to parts (non-tail and tail), and only apply unroll for the non-tail part?
The text was updated successfully, but these errors were encountered: