mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 12:51:46 +00:00
[StableHLO] Add VhloDialect to the dependent dialects of vhlo-to-version
PiperOrigin-RevId: 697695971
This commit is contained in:
parent
fa95063523
commit
591c66ee24
7
third_party/stablehlo/temporary.patch
vendored
7
third_party/stablehlo/temporary.patch
vendored
@ -383,6 +383,13 @@ diff --ruN a/stablehlo/stablehlo/transforms/Passes.td b/stablehlo/stablehlo/tran
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -375,4 +394,5 @@
|
||||
Option<"targetVersionOption", "target", "std::string", "",
|
||||
"The target version. Must be a version of the form #.#.# .">,
|
||||
];
|
||||
-}
|
||||
+ let dependentDialects = ["mlir::vhlo::VhloDialect"];
|
||||
+}
|
||||
diff --ruN a/stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp b/stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp
|
||||
--- stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp
|
||||
+++ stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp
|
||||
|
@ -383,6 +383,13 @@ diff --ruN a/stablehlo/stablehlo/transforms/Passes.td b/stablehlo/stablehlo/tran
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -375,4 +394,5 @@
|
||||
Option<"targetVersionOption", "target", "std::string", "",
|
||||
"The target version. Must be a version of the form #.#.# .">,
|
||||
];
|
||||
-}
|
||||
+ let dependentDialects = ["mlir::vhlo::VhloDialect"];
|
||||
+}
|
||||
diff --ruN a/stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp b/stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp
|
||||
--- stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp
|
||||
+++ stablehlo/stablehlo/transforms/StablehloRefineArguments.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user