[Mlir-commits] [mlir] [mlir][xegpu] Add support for setting `order` in `SetDescLayoutOp` and `SetOpLayoutAttrOp` transform ops. (PR #184705)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 4 15:47:46 PST 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r origin/main...HEAD mlir/python/mlir/dialects/transform/xegpu.py mlir/test/python/dialects/transform_xegpu_ext.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- test/python/dialects/transform_xegpu_ext.py	2026-03-04 23:42:24.000000 +0000
+++ test/python/dialects/transform_xegpu_ext.py	2026-03-04 23:47:10.555781 +0000
@@ -179,10 +179,11 @@
     # CHECK: sg_layout = [6, 4]
     # CHECK: sg_data = [32, 16]
     # CHECK: inst_data = [8, 16]
     # CHECK: slice_dims = [0]
 
+
 @run
 def setOpLayoutAttrResultOrder():
     sequence = transform.SequenceOp(
         transform.FailurePropagationMode.Propagate,
         [],

``````````

</details>


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


More information about the Mlir-commits mailing list