diff options
author | Charitha Saumya <136391709+charithaintc@users.noreply.github.com> | 2025-10-17 09:07:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-17 09:07:17 -0700 |
commit | f7a5264890fe050124cd576410695a7c90c4d8d8 (patch) | |
tree | aa2e565678881b38f1432527d7962fa49b1d0910 /llvm/unittests/Support/SourceMgrTest.cpp | |
parent | 404099dcf23db0b093263aff46d6f9416e0d8a27 (diff) | |
download | llvm-f7a5264890fe050124cd576410695a7c90c4d8d8.zip llvm-f7a5264890fe050124cd576410695a7c90c4d8d8.tar.gz llvm-f7a5264890fe050124cd576410695a7c90c4d8d8.tar.bz2 |
[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.
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
0 files changed, 0 insertions, 0 deletions