[Mlir-commits] [mlir] ea2f508 - [mlir][tosa] Fix validation test (#192679)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Apr 17 08:20:44 PDT 2026


Author: Luke Hutton
Date: 2026-04-17T16:20:39+01:00
New Revision: ea2f50817fa32560f8fac227b58d6a2a9626df3b

URL: https://github.com/llvm/llvm-project/commit/ea2f50817fa32560f8fac227b58d6a2a9626df3b
DIFF: https://github.com/llvm/llvm-project/commit/ea2f50817fa32560f8fac227b58d6a2a9626df3b.diff

LOG: [mlir][tosa] Fix validation test (#192679)

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.

Added: 
    

Modified: 
    mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir

Removed: 
    


################################################################################
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>
 }


        


More information about the Mlir-commits mailing list