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

Issue 809333002: [turbofan] Implement OSR for outer loops. (Closed)

Created:
6 years ago by titzer
Modified:
5 years, 11 months ago
Reviewers:
Benedikt Meurer
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Implement OSR for outer loops. R=bmeurer@chromium.org BUG= Committed: https://crrev.com/159b14172f75ddb89e5daf2cceb9078f1f294916 Cr-Commit-Position: refs/heads/master@{#26020}

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Add more tests. #

Total comments: 11

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1080 lines, -54 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M src/bailout-reason.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 6 chunks +18 lines, -5 lines 0 comments Download
M src/compiler/code-generator.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 chunks +12 lines, -6 lines 0 comments Download
M src/compiler/common-operator.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/common-operator.cc View 1 2 3 4 chunks +33 lines, -19 lines 0 comments Download
M src/compiler/control-builders.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/control-builders.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M src/compiler/frame.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/graph-builder.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/graph-builder.cc View 1 2 3 2 chunks +29 lines, -3 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 6 3 chunks +21 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M src/compiler/linkage.h View 2 chunks +12 lines, -2 lines 0 comments Download
M src/compiler/linkage-impl.h View 1 2 chunks +23 lines, -0 lines 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A src/compiler/osr.h View 1 2 3 4 5 6 7 1 chunk +128 lines, -0 lines 0 comments Download
A src/compiler/osr.cc View 1 2 3 4 5 6 7 1 chunk +69 lines, -0 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 6 chunks +29 lines, -2 lines 0 comments Download
M src/compiler/register-allocator.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/scheduler.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-compiler.cc View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/compiler/test-osr.cc View 1 2 3 4 5 6 7 8 1 chunk +274 lines, -0 lines 0 comments Download
M test/mjsunit/compiler/osr-alignment.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/compiler/osr-manual1.js View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/osr-manual2.js View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/osr-multiple.js View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/osr-multiple2.js View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/osr-multiple3.js View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
M test/mjsunit/compiler/osr-sar.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/compiler/osr-warm.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
titzer
6 years ago (2014-12-18 08:34:00 UTC) #1
Benedikt Meurer
Nice, looks almost too easy. What is the test coverage for this? https://codereview.chromium.org/809333002/diff/20001/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc ...
6 years ago (2014-12-18 11:21:22 UTC) #2
titzer
On 2014/12/18 11:21:22, Benedikt Meurer wrote: > Nice, looks almost too easy. What is the ...
5 years, 11 months ago (2015-01-09 14:17:39 UTC) #3
titzer
https://codereview.chromium.org/809333002/diff/20001/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/809333002/diff/20001/src/compiler/arm/code-generator-arm.cc#newcode890 src/compiler/arm/code-generator-arm.cc:890: // TODO(titzer): put an abort into the header of ...
5 years, 11 months ago (2015-01-09 14:17:47 UTC) #4
Benedikt Meurer
https://codereview.chromium.org/809333002/diff/130001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/809333002/diff/130001/src/compiler/instruction-selector.cc#newcode467 src/compiler/instruction-selector.cc:467: // TODO(turbofan): only reverse if > 1 instruction emitted. ...
5 years, 11 months ago (2015-01-11 11:50:23 UTC) #5
Benedikt Meurer
Almost there. Will review the tests in detail tomorrow.
5 years, 11 months ago (2015-01-11 11:52:06 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/809333002/diff/130001/test/cctest/compiler/test-osr.cc File test/cctest/compiler/test-osr.cc (right): https://codereview.chromium.org/809333002/diff/130001/test/cctest/compiler/test-osr.cc#newcode1 test/cctest/compiler/test-osr.cc:1: // Copyright 2014 the V8 project authors. All rights ...
5 years, 11 months ago (2015-01-12 05:36:27 UTC) #7
titzer
https://codereview.chromium.org/809333002/diff/130001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/809333002/diff/130001/src/compiler/instruction-selector.cc#newcode467 src/compiler/instruction-selector.cc:467: // TODO(turbofan): only reverse if > 1 instruction emitted. ...
5 years, 11 months ago (2015-01-12 10:43:54 UTC) #8
Benedikt Meurer
LGTM https://codereview.chromium.org/809333002/diff/130001/test/cctest/compiler/test-osr.cc File test/cctest/compiler/test-osr.cc (right): https://codereview.chromium.org/809333002/diff/130001/test/cctest/compiler/test-osr.cc#newcode36 test/cctest/compiler/test-osr.cc:36: static Operator kIntLt(IrOpcode::kInt32LessThan, Operator::kPure, Mhm, yeah we should ...
5 years, 11 months ago (2015-01-12 11:12:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/809333002/150001
5 years, 11 months ago (2015-01-12 11:12:33 UTC) #11
commit-bot: I haz the power
Committed patchset #9 (id:150001)
5 years, 11 months ago (2015-01-12 11:39:56 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-12 11:40:08 UTC) #13
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/159b14172f75ddb89e5daf2cceb9078f1f294916
Cr-Commit-Position: refs/heads/master@{#26020}

Powered by Google App Engine
This is Rietveld 408576698