diff options
| author | 2017-02-02 11:23:02 +0000 | |
|---|---|---|
| committer | 2017-02-02 11:23:03 +0000 | |
| commit | 2cf7d5e53e94ceb2bccb06f251fd3df26e126011 (patch) | |
| tree | 5f6998dcafc4cdf489ed150f7f3d9547e813ca3d /compiler/optimizing/optimizing_compiler.cc | |
| parent | caebca9d2a00059c11ecc5f055c25eacf0630392 (diff) | |
| parent | 22aa54bf8469689c7c6c33f15ff4df2ffba8fa15 (diff) | |
Merge "AArch64: Add HInstruction scheduling support."
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
| -rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 297500b12f..1ab671022b 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -90,6 +90,7 @@ #include "reference_type_propagation.h" #include "register_allocator_linear_scan.h" #include "select_generator.h" +#include "scheduler.h" #include "sharpening.h" #include "side_effects_analysis.h" #include "ssa_builder.h" @@ -658,10 +659,13 @@ void OptimizingCompiler::RunArchOptimizations(InstructionSet instruction_set, new (arena) arm64::InstructionSimplifierArm64(graph, stats); SideEffectsAnalysis* side_effects = new (arena) SideEffectsAnalysis(graph); GVNOptimization* gvn = new (arena) GVNOptimization(graph, *side_effects, "GVN$after_arch"); + HInstructionScheduling* scheduling = + new (arena) HInstructionScheduling(graph, instruction_set); HOptimization* arm64_optimizations[] = { simplifier, side_effects, - gvn + gvn, + scheduling, }; RunOptimizations(arm64_optimizations, arraysize(arm64_optimizations), pass_observer); break; |