Integrate LLVM at llvm/llvm-project@662f9bff337b
Updates LLVM usage to match
[662f9bff337b](https://github.com/llvm/llvm-project/commit/662f9bff337b)
PiperOrigin-RevId: 379699574
diff --git a/SUBMODULE_VERSIONS.txt b/SUBMODULE_VERSIONS.txt
index 1657966..d37947c 100644
--- a/SUBMODULE_VERSIONS.txt
+++ b/SUBMODULE_VERSIONS.txt
@@ -5,7 +5,7 @@
aa533abfd4232b01f9e57041d70114d5a77e6de0 third_party/googletest
88b845dee001723c4a0db1fe5477de735b6d3bb0 third_party/liburing
6c9d44e016a6159835edee3681efae5c5011d312 third_party/llvm-bazel
-cc8d32ae7d94c96b9280df40eb3507eae79c7101 third_party/llvm-project
+662f9bff337b99819301113fc8634eb5123b9e23 third_party/llvm-project
65088b0077330714c5951263d9b7ff4b78e90c9a third_party/mlir-emitc
f9f7a638706aeb77e769fb760fe08616c50b2df9 third_party/mlir-hlo
d8c7ee00a687ac369e62e2032514a93a9b413502 third_party/pybind11
diff --git a/iree/compiler/Conversion/Common/test/linalg_bufferize.mlir b/iree/compiler/Conversion/Common/test/linalg_bufferize.mlir
index 9a78512..eaf62b3 100644
--- a/iree/compiler/Conversion/Common/test/linalg_bufferize.mlir
+++ b/iree/compiler/Conversion/Common/test/linalg_bufferize.mlir
@@ -1672,7 +1672,7 @@
%23 = mulf %arg2, %arg3 : f32
%24 = addf %arg2, %arg3 : f32
linalg.yield %23, %24 : f32, f32
- } -> tensor<?x?xf32>, tensor<?x?xf32>
+ } -> (tensor<?x?xf32>, tensor<?x?xf32>)
flow.dispatch.tensor.store %22#0, %2, offsets = [%arg0, %arg1], sizes = [%18, %19], strides = [%c1, %c1] : tensor<?x?xf32> -> !flow.dispatch.tensor<writeonly:?x?xf32>
flow.dispatch.tensor.store %22#1, %3, offsets = [%arg0, %arg1], sizes = [%18, %19], strides = [%c1, %c1] : tensor<?x?xf32> -> !flow.dispatch.tensor<writeonly:?x?xf32>
}
@@ -1958,7 +1958,7 @@
%24 = select %19, %arg2, %arg4 : i32
%25 = select %21, %23, %24 : i32
linalg.yield %20, %25 : i32, i32
- } -> tensor<?xi32>, tensor<?xi32>
+ } -> (tensor<?xi32>, tensor<?xi32>)
flow.dispatch.tensor.store %18#0, %2, offsets = [%arg0], sizes = [%6], strides = [1] : tensor<?xi32> -> !flow.dispatch.tensor<writeonly:?xi32>
flow.dispatch.tensor.store %18#1, %3, offsets = [%arg0], sizes = [%6], strides = [1] : tensor<?xi32> -> !flow.dispatch.tensor<writeonly:?xi32>
}
diff --git a/iree/compiler/Dialect/Flow/Transforms/test/dispatch_linalg_on_tensors.mlir b/iree/compiler/Dialect/Flow/Transforms/test/dispatch_linalg_on_tensors.mlir
index 2dd5377..f264531 100644
--- a/iree/compiler/Dialect/Flow/Transforms/test/dispatch_linalg_on_tensors.mlir
+++ b/iree/compiler/Dialect/Flow/Transforms/test/dispatch_linalg_on_tensors.mlir
@@ -781,7 +781,7 @@
%10 = select %5, %arg3, %arg5 : i32
%11 = select %7, %9, %10 : i32
linalg.yield %6, %11 : i32, i32
- } -> tensor<?xi32>, tensor<?xi32>
+ } -> (tensor<?xi32>, tensor<?xi32>)
return %4#0, %4#1 : tensor<?xi32>, tensor<?xi32>
}
// CHECK-LABEL: func @multi_result
@@ -812,7 +812,7 @@
outs(%1, %1 : tensor<?x10xi32>, tensor<?x10xi32>) {
^bb0(%arg2: i32, %arg3: i32, %arg4: i32, %arg5: i32):
linalg.yield %arg2, %arg3 : i32, i32
- } -> tensor<?x10xi32>, tensor<?x10xi32>
+ } -> (tensor<?x10xi32>, tensor<?x10xi32>)
return %2#0, %2#1 : tensor<?x10xi32>, tensor<?x10xi32>
}
// CHECK-LABEL: func @multi_result_fallback
diff --git a/iree/test/e2e/regression/linalg_ops.mlir b/iree/test/e2e/regression/linalg_ops.mlir
index 984628a..0c92558 100644
--- a/iree/test/e2e/regression/linalg_ops.mlir
+++ b/iree/test/e2e/regression/linalg_ops.mlir
@@ -20,7 +20,7 @@
%1 = addi %arg0, %arg1 : i32
%2 = muli %arg0, %arg1 : i32
linalg.yield %1, %2 : i32, i32
- } -> tensor<3x4xi32>, tensor<3x4xi32>
+ } -> (tensor<3x4xi32>, tensor<3x4xi32>)
check.expect_eq_const(%0#0, dense<[
[14, 16, 18, 20],
[22, 24, 26, 28],
diff --git a/third_party/llvm-project b/third_party/llvm-project
index cc8d32a..662f9bf 160000
--- a/third_party/llvm-project
+++ b/third_party/llvm-project
@@ -1 +1 @@
-Subproject commit cc8d32ae7d94c96b9280df40eb3507eae79c7101
+Subproject commit 662f9bff337b99819301113fc8634eb5123b9e23