[Mlir-commits] [mlir] [mlir][tosa] Fix validation test (PR #192679)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Apr 17 08:09:14 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
@llvm/pr-subscribers-mlir-tosa
Author: Luke Hutton (lhutton1)
<details>
<summary>Changes</summary>
Fixes a validation test after a merge race condition with https://github.com/llvm/llvm-project/pull/192122 and https://github.com/llvm/llvm-project/pull/192272.
---
Full diff: https://github.com/llvm/llvm-project/pull/192679.diff
1 Files Affected:
- (modified) mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir (+1-1)
``````````diff
diff --git a/mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir b/mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir
index e202ed5b2f28b..7ff883e8e5431 100644
--- a/mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir
+++ b/mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir
@@ -80,7 +80,7 @@ func.func @test_gather_bool_i32(%arg0: tensor<13x21x3xi1>, %arg1: tensor<13x26xi
func.func @test_row_gather_block_scaled_i8_i32(%arg0: tensor<13x21x3xi8>, %arg1: tensor<13x26xi32>) -> tensor<13x52x3xi8> {
%row_count = "tosa.const"() {values = dense<2> : tensor<1xi32>} : () -> tensor<1xi32>
- // expected-error at +1 {{'tosa.row_gather_block_scaled' op illegal: requires specification version compatible with 1.1 (got 1.0) OR requires specification version compatible with 1.1 (got 1.0) to be specified in the target environment}}
+ // expected-error at +1 {{'tosa.row_gather_block_scaled' op illegal: requires specification version compatible with 1.1.draft (got 1.0) OR requires specification version compatible with 1.1.draft (got 1.0) to be specified in the target environment}}
%0 = tosa.row_gather_block_scaled %arg0, %arg1, %row_count {block_size = #tosa.block_size<BLOCK_SIZE_1>} : (tensor<13x21x3xi8>, tensor<13x26xi32>, tensor<1xi32>) -> (tensor<13x52x3xi8>)
return %0 : tensor<13x52x3xi8>
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/192679
More information about the Mlir-commits
mailing list