Skip to content

Commit 1651459

Browse files
GleasonKcopybara-github
authored andcommitted
Integrate StableHLO at openxla/stablehlo@38fe0f49
PiperOrigin-RevId: 707117358
1 parent 4280c0e commit 1651459

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

third_party/stablehlo/temporary.patch

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -801,15 +801,7 @@ diff --ruN a/stablehlo/stablehlo/transforms/StablehloRefineShapes.cpp b/stablehl
801801
diff --ruN a/stablehlo/stablehlo/transforms/StablehloRefineShapes.h b/stablehlo/stablehlo/transforms/StablehloRefineShapes.h
802802
--- stablehlo/stablehlo/transforms/StablehloRefineShapes.h
803803
+++ stablehlo/stablehlo/transforms/StablehloRefineShapes.h
804-
@@ -16,7 +16,6 @@
805-
#ifndef STABLEHLO_TRANSFORMS_STABLEHLO_REFINE_SHAPES_H
806-
#define STABLEHLO_TRANSFORMS_STABLEHLO_REFINE_SHAPES_H
807-
808-
-#include "llvm/ADT/SmallVector.h"
809-
#include "mlir/Dialect/Func/IR/FuncOps.h"
810-
#include "mlir/IR/BuiltinOps.h"
811-
#include "mlir/IR/Operation.h"
812-
@@ -101,6 +100,18 @@
804+
@@ -101,6 +101,18 @@
813805
return refineReturnShape(rewriter, op, shape);
814806
}
815807

third_party/stablehlo/workspace.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
44

55
def repo():
66
#
7-
STABLEHLO_COMMIT = "b3d3cacde8994df313297e68713ed74c2ca279ee"
8-
STABLEHLO_SHA256 = "8bb81d7f60f19493b1edfc916adcfe1f9d1deeaf77c9ca7a896e05861505817d"
7+
STABLEHLO_COMMIT = "38fe0f49d9b2bb70a36d3c535680070f6a5595e7"
8+
STABLEHLO_SHA256 = "2b50dfa81024244f4158ac63a7180f924ea464b422cfbd826d39e43e386d0090"
99
#
1010

1111
tf_http_archive(

0 commit comments

Comments
 (0)