llvm-project
f7a52648 - [mlir][vector] Add support for yielding loop bounds in `scf.for` distribution. (#163443)

Commit
107 days ago
[mlir][vector] Add support for yielding loop bounds in `scf.for` distribution. (#163443) In some cases, loop bounds (lower, upper and step) of `scf.for` can come locally from the parent warp op the `scf.for`. Current logic will not yield the loop bounds in the new warp op generated during lowering causing sinked `scf.for` to have non dominating use. In this PR, we have added logic to yield loop bounds by default (treat them as other operands of `scf.for`) which fixes this bug.
Author
Parents
Loading