Skip to content

Commit 406ac67

Browse files
GleasonKTensorFlow MLIR Team
authored andcommitted
Integrate StableHLO at openxla/stablehlo@38fe0f49
PiperOrigin-RevId: 707117358
1 parent e7b3c16 commit 406ac67

File tree

9 files changed

+343
-284
lines changed

9 files changed

+343
-284
lines changed

stablehlo/BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ cc_library(
948948
srcs = STABLEHLO_CAPI_SOURCES,
949949
hdrs = STABLEHLO_CAPI_HEADERS,
950950
deps = [
951+
":linalg_passes",
951952
":reference_api",
952953
":reference_configuration",
953954
":stablehlo_ops",
@@ -978,6 +979,7 @@ cc_library(
978979
srcs = STABLEHLO_CAPI_SOURCES,
979980
hdrs = STABLEHLO_CAPI_HEADERS,
980981
deps = [
982+
":linalg_passes",
981983
":reference_api",
982984
":reference_configuration",
983985
":stablehlo_ops",
@@ -1151,6 +1153,7 @@ cc_library(
11511153
"stablehlo/transforms/VhloToVersion.cpp",
11521154
],
11531155
hdrs = [
1156+
"stablehlo/transforms/ChloDecompositionUtils.h",
11541157
"stablehlo/transforms/MapStablehloToVhlo.h",
11551158
"stablehlo/transforms/PassUtils.h",
11561159
"stablehlo/transforms/Passes.h",

stablehlo/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@ cc_library(
917917
hdrs = STABLEHLO_CAPI_HEADERS,
918918
strip_include_prefix = ".",
919919
deps = [
920+
":linalg_passes",
920921
":reference_api",
921922
":reference_configuration",
922923
":stablehlo_ops",
@@ -949,6 +950,7 @@ cc_library(
949950
hdrs = STABLEHLO_CAPI_HEADERS,
950951
strip_include_prefix = ".",
951952
deps = [
953+
":linalg_passes",
952954
":reference_api",
953955
":reference_configuration",
954956
":stablehlo_ops",
@@ -1131,6 +1133,7 @@ cc_library(
11311133
"stablehlo/transforms/VhloToVersion.cpp",
11321134
],
11331135
hdrs = [
1136+
"stablehlo/transforms/ChloDecompositionUtils.h",
11341137
"stablehlo/transforms/MapStablehloToVhlo.h",
11351138
"stablehlo/transforms/PassUtils.h",
11361139
"stablehlo/transforms/Passes.h",

stablehlo/WORKSPACE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ workspace(name = "stablehlo")
1717

1818
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1919

20-
LLVM_COMMIT = "2ccf7ed277df28651b94bbee9fccefdf22fb074f"
20+
LLVM_COMMIT = "0876c11ceeb093904decc4d89bef213d483a5656"
2121

22-
LLVM_SHA256 = "ca68a54dcd12c0dde32732a90899bf57e0f3f96fc43d8d1124d95a5eae627508"
22+
LLVM_SHA256 = "8379577a71645bbba89dea08beba32b3e56b833da7340ba5be7efa3986c8f8ed"
2323

2424
http_archive(
2525
name = "llvm-raw",

0 commit comments

Comments
 (0)