diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 3d4079086bb..91393261fce 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -17,9 +17,9 @@ workspace(name = "stablehlo") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -LLVM_COMMIT = "a6d7828f4c50c1ec7b0b5f61fe59d7a768175dcc" +LLVM_COMMIT = "1e5f29af81a5f6fda308074f6345b9fba4faa71c" -LLVM_SHA256 = "c09ec3020fb6b136064ff32f53ac07067b0f12ccbf016ac69965e4e38d61a9c0" +LLVM_SHA256 = "f31b9a08cb74cffd89a0bc87b6a7ef327b54bc67af25e1503683d40817b22f2a" http_archive( name = "llvm-raw", diff --git a/build_tools/llvm_version.txt b/build_tools/llvm_version.txt index cd7de49794b..90ca14b33b2 100644 --- a/build_tools/llvm_version.txt +++ b/build_tools/llvm_version.txt @@ -1 +1 @@ -a6d7828f4c50c1ec7b0b5f61fe59d7a768175dcc +1e5f29af81a5f6fda308074f6345b9fba4faa71c diff --git a/stablehlo/conversions/tosa/tests/binary.mlir b/stablehlo/conversions/tosa/tests/binary.mlir index 4de314124d2..424794378c7 100644 --- a/stablehlo/conversions/tosa/tests/binary.mlir +++ b/stablehlo/conversions/tosa/tests/binary.mlir @@ -155,7 +155,7 @@ func.func @maximum(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x // CHECK-LABEL: @maximum_f64 func.func @maximum_f64(%arg0 : tensor<10xf64>, %arg1 : tensor<10xf64>) -> tensor<10xf64> { - // CHECK: stablehlo.maximum + // CHECK: tosa.maximum %0 = "stablehlo.maximum"(%arg0, %arg1) : (tensor<10xf64>, tensor<10xf64>) -> tensor<10xf64> return %0 : tensor<10xf64> } diff --git a/stablehlo/conversions/tosa/tests/nullary.mlir b/stablehlo/conversions/tosa/tests/nullary.mlir index 643cfe1f5c4..b77a01d574f 100644 --- a/stablehlo/conversions/tosa/tests/nullary.mlir +++ b/stablehlo/conversions/tosa/tests/nullary.mlir @@ -9,8 +9,7 @@ func.func @constant() -> tensor<10xf32> { // CHECK-LABEL: @constant_f64 func.func @constant_f64() -> tensor<10xf64> { - // TOSA does not support 64-bit types, so this should not legalize. - // CHECK: stablehlo.constant + // CHECK: tosa.const %0 = stablehlo.constant dense<0.000000e+00> : tensor<10xf64> return %0 : tensor<10xf64> }