Since the scf.forall is now consumed by the fuse into
containing op, we need to return a handle to the new scf.forall.
This patch does that and also ensures that the new bbArg
added to the scf.forall is used in its body.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This (and the previous change) breaks transform composability in a quite annoying way. Since the loop handle is now consumed, this invalidates all handles pointing inside the loop. So if we wanted to tile an operation the second time after fusion, we can't anymore (without searching for it again) because we have destroyed the handle to it.
Comment Actions
This also did not update the documentation that keeps saying the operand is only read.
Comment Actions
I will be undoing the "consume" part in https://reviews.llvm.org/D151555, but please update the op documentation to reflect changes made here and in the previous commit.
Comment Actions
Here is the PR for the updated documentation - https://reviews.llvm.org/D152044. Please take a look when you get a chance. Thanks!