[Mlir-commits] [mlir] [MLIR][XeGPU] Rematerialize layout conversion sources after conflict resolution (PR #230669)

Nishant Patel llvmlistbot at llvm.org
Wed Oct 14 11:57:49 PDT 2026


================

----------------
nbpatel wrote:

To fix the operand/result mismatch issue similar to the issue Frank filed for ...

> Would it help if calling xegpu::rematerializeConversionSources() as the last step()?

Not really. Sink would still have to check that those operands are cheap before deciding to sink, and it would have to insert a convert_layout on them just for the last step to remove. So nothing gets simpler, we only add temporary converts 

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


More information about the Mlir-commits mailing list