[Mlir-commits] [mlir] [MLIR][XeGPU] Add Layout Propagation support for multi-reduction/reduction op with scalar result (PR #189133)

Artem Kroviakov llvmlistbot at llvm.org
Wed Apr 1 02:55:57 PDT 2026


================
@@ -1321,6 +1391,21 @@ LogicalResult ResolveLayoutConflicts::run() {
   return r.wasInterrupted() ? failure() : success();
 }
 
+LogicalResult
+ResolveLayoutConflicts::assignScalarResultLayout(OpResult &result) {
+  Operation *ProducerOp = result.getDefiningOp();
----------------
akroviakov wrote:

```suggestion
  Operation *producerOp = result.getDefiningOp();
```

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


More information about the Mlir-commits mailing list