[Mlir-commits] [mlir] [mlir][tosa] Add dim operation (PR #169368)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Nov 24 09:12:01 PST 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,cpp,inc -- mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h mlir/lib/Dialect/Tosa/IR/TargetEnv.cpp mlir/lib/Dialect/Tosa/IR/TosaOps.cpp mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp mlir/lib/Dialect/Tosa/Transforms/TosaValidation.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/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc b/mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
index 3b98b36db..828e34aa4 100644
--- a/mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+++ b/mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
@@ -958,19 +958,23 @@ extensionComplianceMap = {
         {{fp16T}, SpecificationVersion::V_1_1_DRAFT},
         {{fp32T}, SpecificationVersion::V_1_1_DRAFT}}},
       {{Extension::fp8e4m3, Extension::shape},
-       {{{fp8e4m3T}, SpecificationVersion::V_1_1_DRAFT}}, allOf},
+       {{{fp8e4m3T}, SpecificationVersion::V_1_1_DRAFT}},
+       allOf},
       {{Extension::fp8e5m2, Extension::shape},
-       {{{fp8e5m2T}, SpecificationVersion::V_1_1_DRAFT}}, allOf},
+       {{{fp8e5m2T}, SpecificationVersion::V_1_1_DRAFT}},
+       allOf},
       {{Extension::bf16, Extension::shape},
-       {{{bf16T}, SpecificationVersion::V_1_1_DRAFT}}, allOf},
+       {{{bf16T}, SpecificationVersion::V_1_1_DRAFT}},
+       allOf},
       {{Extension::mxfp, Extension::shape},
        {{{fp6e3m2T}, SpecificationVersion::V_1_1_DRAFT},
         {{fp6e2m3T}, SpecificationVersion::V_1_1_DRAFT},
         {{fp4e2m1T}, SpecificationVersion::V_1_1_DRAFT},
         {{mxint8T}, SpecificationVersion::V_1_1_DRAFT},
-        {{fp8ue8m0T}, SpecificationVersion::V_1_1_DRAFT}}, allOf},
+        {{fp8ue8m0T}, SpecificationVersion::V_1_1_DRAFT}},
+       allOf},
       {{Extension::int64, Extension::shape},
-       {{{i64T}, SpecificationVersion::V_1_1_DRAFT}}, allOf}}}
-};
+       {{{i64T}, SpecificationVersion::V_1_1_DRAFT}},
+       allOf}}}};
 
 // End of auto-generated metadata

``````````

</details>


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


More information about the Mlir-commits mailing list