[Mlir-commits] [mlir] [mlir][xegpu] Report failure when no valid layout can be determined (PR #214875)

Jianhui Li llvmlistbot at llvm.org
Thu Aug 13 13:05:58 PDT 2026


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

----------------
Jianhui-Li wrote:

I can let this one go just emit warning, since this is not anchor op, and the PR is intended to stop the propagation if no valid layout is found for anchor op.

It doesn't mean this PR would interfere with the data flow analysis. If the source of propagation (the achnor layout is incorrect), then no point to propagation. 

I disagree with your assertion that we need to change the current design (simply pick the layout of nearest consumer out of multiple users).  The layout propagation is designed to handle simple and mechanical propagation, not intend to identify the best layout.  If you run into a use case that requires a more sophistic layout assignments, please file an issue but please don't assume that the current mechanism has fundamental issue.



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


More information about the Mlir-commits mailing list