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

Issue 78733002: Generalize if-conversion to arbitrary smi comparisons. (Closed)

Created:
7 years, 1 month ago by Florian Schneider
Modified:
7 years ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : added missing test file #

Total comments: 3

Patch Set 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

Messages

Total messages: 4 (0 generated)
Florian Schneider
7 years, 1 month ago (2013-11-20 16:36:15 UTC) #1
Florian Schneider
7 years, 1 month ago (2013-11-22 11:27:55 UTC) #2
Kevin Millikin (Google)
LGTM. https://codereview.chromium.org/78733002/diff/120001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/78733002/diff/120001/runtime/vm/compiler.cc#newcode374 runtime/vm/compiler.cc:374: // Invoke Canonicalize twice in order to fully ...
7 years, 1 month ago (2013-11-22 14:09:33 UTC) #3
Florian Schneider
7 years ago (2013-11-25 13:02:05 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r30622 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698