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

Issue 2473643002: Revert of [turbofan] Support variable size argument popping in TF-generated functions (Closed)

Created:
4 years, 1 month ago by Michael Achenbach
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, rmcilroy, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert of [turbofan] Support variable size argument popping in TF-generated functions (patchset #13 id:240001 of https://codereview.chromium.org/2446543002/ ) Reason for revert: Seems to break arm64 sim debug and blocks roll: https://build.chromium.org/p/client.v8.ports/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20debug/builds/3294 Original issue's description: > [turbofan] Support variable size argument removal in TF-generated functions > > This is preparation for using TF to create builtins that handle variable number of > arguments and have to remove these arguments dynamically from the stack upon > return. > > The gist of the changes: > - Added a second argument to the Return node which specifies the number of stack > slots to pop upon return in addition to those specified by the Linkage of the > compiled function. > - Removed Tail -> Non-Tail fallback in the instruction selector. Since TF now should > handles all tail-call cases except where the return value type differs, this fallback > was not really useful and in fact caused unexpected behavior with variable > sized argument popping, since it wasn't possible to materialize a Return node > with the right pop count from the TailCall without additional context. > - Modified existing Return generation to pass a constant zero as the additional > pop argument since the variable pop functionality > > LOG=N TBR=bmeurer@chromium.org,mstarzinger@chromium.org,epertoso@chromium.org,danno@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. NOPRESUBMIT=true Committed: https://crrev.com/c61902e072ee8cfdfde58642a3638f402021f579 Cr-Commit-Position: refs/heads/master@{#40691}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -585 lines) Patch
M src/code-stubs.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 3 chunks +9 lines, -22 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 3 chunks +12 lines, -22 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler/code-assembler.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/code-assembler.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/compiler/code-generator.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/common-operator.cc View 4 chunks +12 lines, -11 lines 0 comments Download
M src/compiler/common-operator-reducer.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 3 chunks +11 lines, -29 lines 0 comments Download
M src/compiler/instruction-selector.cc View 2 chunks +103 lines, -62 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/mips/code-generator-mips.cc View 3 chunks +8 lines, -21 lines 0 comments Download
M src/compiler/mips64/code-generator-mips64.cc View 3 chunks +8 lines, -21 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 chunk +5 lines, -28 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 2 chunks +1 line, -22 lines 0 comments Download
M src/compiler/tail-call-optimization.cc View 3 chunks +2 lines, -7 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 4 chunks +9 lines, -14 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 4 chunks +12 lines, -32 lines 0 comments Download
M test/cctest/compiler/graph-builder-tester.h View 1 chunk +2 lines, -3 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M test/cctest/compiler/test-loop-analysis.cc View 7 chunks +6 lines, -13 lines 0 comments Download
M test/cctest/compiler/test-representation-change.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-run-native-calls.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M test/cctest/compiler/test-run-stubs.cc View 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/test-code-stub-assembler.cc View 1 chunk +0 lines, -58 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 chunk +1 line, -2 lines 0 comments Download
M test/unittests/compiler/branch-elimination-unittest.cc View 5 chunks +8 lines, -12 lines 0 comments Download
M test/unittests/compiler/common-operator-reducer-unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M test/unittests/compiler/common-operator-unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/effect-control-linearizer-unittest.cc View 4 chunks +5 lines, -10 lines 0 comments Download
M test/unittests/compiler/escape-analysis-unittest.cc View 11 chunks +12 lines, -13 lines 0 comments Download
M test/unittests/compiler/graph-reducer-unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M test/unittests/compiler/instruction-selector-unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 4 chunks +5 lines, -7 lines 0 comments Download
M test/unittests/compiler/loop-peeling-unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/scheduler-unittest.cc View 19 chunks +88 lines, -106 lines 0 comments Download
M test/unittests/compiler/tail-call-optimization-unittest.cc View 6 chunks +6 lines, -18 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Michael Achenbach
Created Revert of [turbofan] Support variable size argument popping in TF-generated functions
4 years, 1 month ago (2016-11-02 07:21:23 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473643002/1
4 years, 1 month ago (2016-11-02 07:21:37 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/27645)
4 years, 1 month ago (2016-11-02 07:25:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473643002/1
4 years, 1 month ago (2016-11-02 07:37:07 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-02 07:48:53 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:19:00 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c61902e072ee8cfdfde58642a3638f402021f579
Cr-Commit-Position: refs/heads/master@{#40691}

Powered by Google App Engine
This is Rietveld 408576698