[Mlir-commits] [mlir] [mlir][XeGPU] Validate single-block requirement in MoveFuncBodyToWarpOp (PR #188471)
Longsheng Mou
llvmlistbot at llvm.org
Fri Mar 27 09:27:41 PDT 2026
CoTinker wrote:
Since `WarpExecuteOnLane0Op` has the `SingleBlockImplicitTerminator` trait, wrapping a function with multiple blocks would produce an inherently invalid op — so `MoveFuncBodyToWarpOp` should simply reject such functions rather than wrapping them.
https://github.com/llvm/llvm-project/blob/ede566118f706fe69124d8ff1024965b6b5dd837/mlir/include/mlir/Dialect/GPU/IR/GPUOps.td#L3112-L3115
https://github.com/llvm/llvm-project/pull/188471
More information about the Mlir-commits
mailing list