[Mlir-commits] [mlir] [mlir]introduce UnrollScopeInterface and apply it to funcOp and gpu.launch Op. (PR #123904)
lonely eagle
llvmlistbot at llvm.org
Fri Jan 24 12:16:20 PST 2025
linuxlonelyeagle wrote:
> Ok, no, I worked out part of the issue. The reason `canonicalize` is deleting your gpu.launch body is because it doesn't _do_ anything. You need to, for example, store that vector in a memref
I know what you're saying again, I've written this example before and still have the same problems that appear in this PR.
Like I said at the top, the point is that if a loop is only iterated once it will build the IV in funcOp, not in the region I want.This one is a problem caused by this pass itself.
https://github.com/llvm/llvm-project/pull/123904
More information about the Mlir-commits
mailing list