[Mlir-commits] [mlir] [MLIR][XeGPU] Improve `xegpu::uArch` design (PR #163986)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Oct 17 09:21:46 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

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

``````````bash
git-clang-format --diff origin/main HEAD --extensions h -- mlir/include/mlir/Dialect/XeGPU/uArch/IntelGpuXe2.h mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h --diff_from_common_commit
``````````

: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 clang-format here.
</summary>

``````````diff
diff --git a/mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h b/mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h
index 91f4b9eae..f5844d62f 100644
--- a/mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h
+++ b/mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h
@@ -77,7 +77,7 @@ struct Instruction {
 protected:
   const InstructionKind instKind; // Specific InstructionKind (e.g., DPAS)
   const InstructionScope scope;   // scope of the instruction (e.g., lane,
-                                // subgroup, workgroup, cluster)
+                                  // subgroup, workgroup, cluster)
   // @TODO: Add more fields as needed
 };
 

``````````

</details>


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


More information about the Mlir-commits mailing list