[Mlir-commits] [mlir] [MLIR][XeGPU] Use context-aware type converter in WgToSgDistribute and Blocking pass (PR #194685)

Jianhui Li llvmlistbot at llvm.org
Thu Jun 4 09:10:16 PDT 2026


Jianhui-Li wrote:

> Instead we should fix it on the `getLayout` utility method. if the block is detached (no block arg case), we can simply retrieve the layout from init args of the parent op.

If there is a way to retrieve, please avoid precomputation and cache.  But I am not sure this is the case, or else getDistributeLayoutAttr()  already retrieve the layout  from init args of parent op for block arguments. @nbpatel  



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


More information about the Mlir-commits mailing list