Integrate llvm-project and bump dependencies. (#10103)
* llvm-project: 2c3ca3b684bb2b188d977d47548e79dc559fb8ad
* mlir-hlo: b30f16819dd99be5d00c65a458ab9de12e7b8d13
* tensorflow: 49f97f135a2e1d5d22e60d2a80ec668d53f9708a
Extra changes:
* AbsOp -> AbsFOp
* llvm global access requires a symbol cache.
* Tablegen lib build fix
* callOp and ExtractValue signature changed
* transform.sequence syntax change
* Fix lit tests order restrictions
* Update SPIR-V after memory space changes
* Fix reshape printing
* Fix mhlo type conversion for rank0 tensor
Co-authored-by: Lei Zhang <antiagainst@google.com>
diff --git a/tools/test/benchmark_flags.txt b/tools/test/benchmark_flags.txt
index cd57590..c624c96 100644
--- a/tools/test/benchmark_flags.txt
+++ b/tools/test/benchmark_flags.txt
@@ -13,7 +13,7 @@
// LIST-BENCHMARKS: BM_foo2
func.func @foo2() -> tensor<4xf32> {
%input = util.unfoldable_constant dense<[0.0, 1.0, 2.0, 4.0]> : tensor<4xf32>
- %result = math.abs %input : tensor<4xf32>
+ %result = math.absf %input : tensor<4xf32>
return %result : tensor<4xf32>
}
}
diff --git a/tools/test/iree-benchmark-module.mlir b/tools/test/iree-benchmark-module.mlir
index 4b423d3..67988f4 100644
--- a/tools/test/iree-benchmark-module.mlir
+++ b/tools/test/iree-benchmark-module.mlir
@@ -4,6 +4,6 @@
// CHECK-LABEL: BM_abs
func.func @abs(%input : tensor<f32>) -> (tensor<f32>) {
- %result = math.abs %input : tensor<f32>
+ %result = math.absf %input : tensor<f32>
return %result : tensor<f32>
}
diff --git a/tools/test/iree-run-mlir.mlir b/tools/test/iree-run-mlir.mlir
index a82ab74..692815a 100644
--- a/tools/test/iree-run-mlir.mlir
+++ b/tools/test/iree-run-mlir.mlir
@@ -4,7 +4,7 @@
// CHECK-LABEL: EXEC @abs
func.func @abs(%input : tensor<f32>) -> (tensor<f32>) {
- %result = math.abs %input : tensor<f32>
+ %result = math.absf %input : tensor<f32>
return %result : tensor<f32>
}
// CHECK: f32=2
diff --git a/tools/test/iree-run-module.mlir b/tools/test/iree-run-module.mlir
index fb1b2b7..f72e794 100644
--- a/tools/test/iree-run-module.mlir
+++ b/tools/test/iree-run-module.mlir
@@ -4,7 +4,7 @@
// CHECK-LABEL: EXEC @abs
func.func @abs(%input : tensor<f32>) -> (tensor<f32>) {
- %result = math.abs %input : tensor<f32>
+ %result = math.absf %input : tensor<f32>
return %result : tensor<f32>
}
// CHECK: f32=2
diff --git a/tools/test/multiple_exported_functions.mlir b/tools/test/multiple_exported_functions.mlir
index 2250867..dec7cec 100644
--- a/tools/test/multiple_exported_functions.mlir
+++ b/tools/test/multiple_exported_functions.mlir
@@ -9,7 +9,7 @@
}
func.func @foo2() -> tensor<4xf32> {
%input = util.unfoldable_constant dense<[0.0, 1.0, 2.0, 4.0]> : tensor<4xf32>
- %result = math.abs %input : tensor<4xf32>
+ %result = math.absf %input : tensor<4xf32>
return %result : tensor<4xf32>
}
}