8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be3c982 commit 180f95fCopy full SHA for 180f95f
third_party/xla/xla/service/sharding_propagation.cc
@@ -3265,13 +3265,8 @@ absl::StatusOr<bool> ShardingPropagation::Run(
3265
inst->copy_sharding(sharded_inst);
3266
}
3267
3268
- if (instruction->opcode() == HloOpcode::kWhile) {
3269
- computation_map[instruction->while_body()] = instruction;
3270
- computation_map[instruction->while_condition()] = instruction;
3271
- } else {
3272
- for (HloComputation* c : instruction->called_computations()) {
3273
- computation_map[c] = instruction;
3274
- }
+ for (HloComputation* c : instruction->called_computations()) {
+ computation_map[c] = instruction;
3275
3276
3277
0 commit comments