|
|
Generalize if-conversion to arbitrary smi comparisons.
Until now only == and != comparisons were supported.
Further changes are:
Remove flag FLAG_new_identity_spec: It is not needed anymore.
Invoke Canonicalize another time before branch optimizations.
Fixes support for TestSmiInstr with the branch-simplifier pass.
R=kmillikin@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30622
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+619 lines, -547 lines) |
Patch |
 |
M |
runtime/vm/compiler.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
2
|
8 chunks |
+18 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler.h
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
1
2
|
4 chunks |
+25 lines, -65 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_type_propagator.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/il_printer.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
|
16 chunks |
+104 lines, -23 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.cc
|
View
|
|
4 chunks |
+51 lines, -30 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_arm.cc
|
View
|
|
10 chunks |
+77 lines, -86 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
|
16 chunks |
+90 lines, -115 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_mips.cc
|
View
|
|
17 chunks |
+101 lines, -103 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
|
13 chunks |
+78 lines, -98 lines |
0 comments
|
Download
|
 |
M |
tests/language/vm/if_conversion_vm_test.dart
|
View
|
|
3 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/vm/optimized_testsmi_test.dart
|
View
|
1
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|