[Mlir-commits] [mlir] #208902: Added xegpu load/store flattening (PR #210592)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Jul 19 06:08:08 PDT 2026
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 cpp -- mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp --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/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp b/mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
index 645fb6494..53a95149f 100644
--- a/mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
+++ b/mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
@@ -720,10 +720,10 @@ class LoadStoreMatrixToXeVMPattern : public OpConversionPattern<OpType> {
// not catch it for results.
if (auto vecType = dyn_cast<VectorType>(resType)) {
// Flatten to 1D
- // Accepts genuine multi-dim tiles
- // (e.g. a non-distributed `vector<4x8xf32>` result) by reinterpreting the whole
- // tile as one flat, contiguous run. This is only valid when the
- // underlying `mem_desc` region is actually contiguous in memory
+ // Accepts genuine multi-dim tiles
+ // (e.g. a non-distributed `vector<4x8xf32>` result) by reinterpreting
+ // the whole tile as one flat, contiguous run. This is only valid when
+ // the underlying `mem_desc` region is actually contiguous in memory
resType = VectorType::get({vecType.getNumElements()},
vecType.getElementType());
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/210592
More information about the Mlir-commits
mailing list