Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609333868
  • Loading branch information
tensorflower-gardener committed Feb 22, 2024
1 parent 03e96e1 commit 49be7e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion third_party/xla/xla/hlo/utils/hlo_live_range.cc
Expand Up @@ -41,7 +41,7 @@ limitations under the License.

namespace xla {
/*static*/
StatusOr<std::unique_ptr<HloLiveRange>> HloLiveRange::Run(
absl::StatusOr<std::unique_ptr<HloLiveRange>> HloLiveRange::Run(
const HloSchedule& schedule, const HloAliasAnalysis& alias_analysis,
const HloComputation* computation, bool module_scoped_analysis) {
std::unique_ptr<HloLiveRange> hlo_live_range(
Expand Down
2 changes: 1 addition & 1 deletion third_party/xla/xla/hlo/utils/hlo_live_range.h
Expand Up @@ -37,7 +37,7 @@ class HloLiveRange {
public:
// Constructs a hlo live range object for the given module and computation
// assuming the given HLO instruction ordering.
static StatusOr<std::unique_ptr<HloLiveRange>> Run(
static absl::StatusOr<std::unique_ptr<HloLiveRange>> Run(
const HloSchedule& schedule, const HloAliasAnalysis& alias_analysis,
const HloComputation* computation, bool module_scoped_analysis = true);

Expand Down
2 changes: 1 addition & 1 deletion third_party/xla/xla/hlo/utils/hlo_sharding_util.cc
Expand Up @@ -1807,7 +1807,7 @@ HloSharding GatherOutputOrScatterUpdateShardingFromIndicesParallelDimensions(
indices_sharding.metadata());
}

StatusOr<std::pair<std::unique_ptr<HloInstruction>, HloOpcode>>
absl::StatusOr<std::pair<std::unique_ptr<HloInstruction>, HloOpcode>>
IdentityValueAndHloOpcodeForScatterReduceComputation(
const HloScatterInstruction& scatter) {
auto computation = scatter.to_apply();
Expand Down
2 changes: 1 addition & 1 deletion third_party/xla/xla/hlo/utils/hlo_sharding_util.h
Expand Up @@ -260,7 +260,7 @@ HloSharding GatherOutputOrScatterUpdateShardingFromIndicesParallelDimensions(
// - If computation is min/max, return max value/min value with corresponding op
// code.
// - Otherwise, return error status.
StatusOr<std::pair<std::unique_ptr<HloInstruction>, HloOpcode>>
absl::StatusOr<std::pair<std::unique_ptr<HloInstruction>, HloOpcode>>
IdentityValueAndHloOpcodeForScatterReduceComputation(
const HloScatterInstruction& scatter);

Expand Down

0 comments on commit 49be7e0

Please sign in to comment.