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

Issue 2912903002: Reapply "Fix misoptimization of 'is' test"" (Closed)

Created:
3 years, 6 months ago by erikcorry
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Reapply "Fix misoptimization of 'is' test"" This also moves some common code from jit_optimizer.cc and aot_optimizer.cc to a new common file, optimizer.cc. The code is almost unchanged from the aot_optimizer.cc version, apart from the calls to PurgeNegativeTestCidsEntries. A flag emulates the behaviour of the simpler jit_optimizer.cc version. Benchmark tests are running to see which is better. Originally reviewed at https://codereview.chromium.org/2904543002/ R=vegorov@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/8619cb63878d5be7ad714f1eb5867cc828d0d1e9

Patch Set 1 #

Patch Set 2 : Reinstate missing optimization #

Total comments: 1

Patch Set 3 : Remove change to TestCidsInstr::Canonicalize and improve printer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -142 lines) Patch
M runtime/vm/aot_optimizer.cc View 3 chunks +4 lines, -69 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 chunk +7 lines, -9 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 2 chunks +31 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_dbc.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/jit_optimizer.cc View 3 chunks +3 lines, -56 lines 0 comments Download
A runtime/vm/optimizer.h View 1 chunk +27 lines, -0 lines 0 comments Download
A runtime/vm/optimizer.cc View 1 chunk +96 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A tests/standalone/regress_29695_test.dart View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
erikcorry
3 years, 6 months ago (2017-05-30 08:22:16 UTC) #1
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2912903002/diff/20001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/2912903002/diff/20001/runtime/vm/intermediate_language.cc#newcode3892 runtime/vm/intermediate_language.cc:3892: if (CanDeoptimize() != other->CanDeoptimize()) { I don't think ...
3 years, 6 months ago (2017-05-30 10:54:20 UTC) #2
Vyacheslav Egorov (Google)
lgtm
3 years, 6 months ago (2017-05-30 11:29:48 UTC) #3
erikcorry
3 years, 6 months ago (2017-05-30 12:17:13 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
8619cb63878d5be7ad714f1eb5867cc828d0d1e9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698