| Index: src/compiler/scheduler.cc
|
| diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc
|
| index 6ec2295d6f325ec4eecea312be9340165a35f72c..944f18c853f58faa87c6ea98a7850a16de1f8ebc 100644
|
| --- a/src/compiler/scheduler.cc
|
| +++ b/src/compiler/scheduler.cc
|
| @@ -1330,7 +1330,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) {
|
| @@ -1440,10 +1440,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) {
|
|
|