[Mlir-commits] [mlir] [mlir][nvgpu] make TmaCreateDescriptorOp can use static box and add folder function to it. (PR #135497)

lonely eagle llvmlistbot at llvm.org
Sun Apr 13 10:19:31 PDT 2025


linuxlonelyeagle wrote:

Originally this code solved the problem.https://github.com/llvm/llvm-project/blob/974bda8f61e056f90b17baa6db686c91d20ebe9d/mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp#L377
The check here doesn't look right.Should have checked the shape of the box instead.So I expect it to be a static constant thing in the last dimension.But this PR doesn't look like it's going to solve the problem entirely.Because dynamic constant becomes static constant you need to run -canonicalize.

https://github.com/llvm/llvm-project/pull/135497


More information about the Mlir-commits mailing list