Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(878)

Side by Side Diff: src/compiler/pipeline.cc

Issue 1077613002: [turbofan] Disable select matching due to bug manifesting on arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/pipeline.h" 5 #include "src/compiler/pipeline.h"
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 graph_reducer.ReduceGraph(); 591 graph_reducer.ReduceGraph();
592 } 592 }
593 }; 593 };
594 594
595 595
596 struct EarlyControlReductionPhase { 596 struct EarlyControlReductionPhase {
597 static const char* phase_name() { return "early control reduction"; } 597 static const char* phase_name() { return "early control reduction"; }
598 void Run(PipelineData* data, Zone* temp_zone) { 598 void Run(PipelineData* data, Zone* temp_zone) {
599 SourcePositionTable::Scope pos(data->source_positions(), 599 SourcePositionTable::Scope pos(data->source_positions(),
600 SourcePosition::Unknown()); 600 SourcePosition::Unknown());
601 ControlReducer::ReduceGraph(temp_zone, data->jsgraph(), data->common(), 1); 601 // TODO(turbofan): enable select matching in early control reduction.
602 ControlReducer::ReduceGraph(temp_zone, data->jsgraph(), data->common(), 0);
602 } 603 }
603 }; 604 };
604 605
605 606
606 struct LateControlReductionPhase { 607 struct LateControlReductionPhase {
607 static const char* phase_name() { return "late control reduction"; } 608 static const char* phase_name() { return "late control reduction"; }
608 void Run(PipelineData* data, Zone* temp_zone) { 609 void Run(PipelineData* data, Zone* temp_zone) {
609 SourcePositionTable::Scope pos(data->source_positions(), 610 SourcePositionTable::Scope pos(data->source_positions(),
610 SourcePosition::Unknown()); 611 SourcePosition::Unknown());
611 ControlReducer::ReduceGraph(temp_zone, data->jsgraph(), data->common(), 0); 612 ControlReducer::ReduceGraph(temp_zone, data->jsgraph(), data->common(), 0);
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 1238
1238 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) { 1239 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) {
1239 TurboCfgFile tcf(data->isolate()); 1240 TurboCfgFile tcf(data->isolate());
1240 tcf << AsC1VAllocator("CodeGen", data->register_allocator()); 1241 tcf << AsC1VAllocator("CodeGen", data->register_allocator());
1241 } 1242 }
1242 } 1243 }
1243 1244
1244 } // namespace compiler 1245 } // namespace compiler
1245 } // namespace internal 1246 } // namespace internal
1246 } // namespace v8 1247 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698