[all-commits] [llvm/llvm-project] 3123d9: [mlir][tosa] Fix validation of `dim` op when relia...
Luke Hutton via All-commits
all-commits at lists.llvm.org
Wed Feb 11 04:15:35 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3123d9cb3a06ab15afcba42174f293c60bd2128d
https://github.com/llvm/llvm-project/commit/3123d9cb3a06ab15afcba42174f293c60bd2128d
Author: Luke Hutton <luke.hutton at arm.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaShapeOps.td
M mlir/test/Dialect/Tosa/tosa-validation-version-1p1-valid.mlir
Log Message:
-----------
[mlir][tosa] Fix validation of `dim` op when reliant on datatype extension (#180915)
For example:
```
error: 'tosa.dim' op illegal: requires [bf16, shape] but not included in the profile compliance [shape]
%0 = tosa.dim %arg0 {axis = 4 : i32} : (tensor<4x5x8x8x6x4xbf16>) -> !tosa.shape<1>
```
Here dim requires support to be declared for the BF16 and SHAPE
extensions, but only SHAPE was specified in the op declaration.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list