| Index: src/compiler/scheduler.cc
|
| diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc
|
| index cb11bec23725fb422e4ce338203f7b4b281df468..1b514a6cf456ab2b8514241705aefb09d967a0ec 100644
|
| --- a/src/compiler/scheduler.cc
|
| +++ b/src/compiler/scheduler.cc
|
| @@ -1328,7 +1328,7 @@ class ScheduleLateNodeVisitor {
|
| BasicBlock* GetBlockForUse(Edge edge) {
|
| Node* use = edge.from();
|
| IrOpcode::Value opcode = use->opcode();
|
| - if (opcode == IrOpcode::kPhi || opcode == IrOpcode::kEffectPhi) {
|
| + if (IrOpcode::IsPhiOpcode(opcode)) {
|
| // If the use is from a coupled (i.e. floating) phi, compute the common
|
| // dominator of its uses. This will not recurse more than one level.
|
| if (scheduler_->GetPlacement(use) == Scheduler::kCoupled) {
|
| @@ -1438,10 +1438,8 @@ void Scheduler::FuseFloatingControl(BasicBlock* block, Node* node) {
|
| NodeVector propagation_roots(control_flow_builder_->control_);
|
| for (Node* node : control_flow_builder_->control_) {
|
| for (Node* use : node->uses()) {
|
| - if (use->opcode() == IrOpcode::kPhi ||
|
| - use->opcode() == IrOpcode::kEffectPhi) {
|
| + if (IrOpcode::IsPhiOpcode(use->opcode()))
|
| propagation_roots.push_back(use);
|
| - }
|
| }
|
| }
|
| if (FLAG_trace_turbo_scheduler) {
|
|
|