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

Issue 2519983002: [ignition] Replace branch+loop analysis with a single pass (Closed)

Created:
4 years, 1 month ago by Leszek Swirski
Modified:
4 years, 1 month ago
Reviewers:
Jarin, rmcilroy
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ignition] Replace branch+loop analysis with a single pass Now that we have a JumpLoop bytecode, we can heavily simplify the branch/loop analysis by assuming that only JumpLoop bytecodes are backwards edges, and performing the loop analysis as a single (backwards) pass. This allows us to get rid of the branch analysis entirely, and builds a framework to do liveness analysis in the same pass. Committed: https://crrev.com/292c4a0a2a45b14c86ba911339c2af91a3e2b647 Cr-Commit-Position: refs/heads/master@{#41194}

Patch Set 1 #

Patch Set 2 : Fix bad search/replace #

Total comments: 6

Patch Set 3 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -313 lines) Patch
M BUILD.gn View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M src/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A src/compiler/bytecode-analysis.h View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A src/compiler/bytecode-analysis.cc View 1 chunk +97 lines, -0 lines 0 comments Download
D src/compiler/bytecode-branch-analysis.h View 1 chunk +0 lines, -65 lines 0 comments Download
D src/compiler/bytecode-branch-analysis.cc View 1 chunk +0 lines, -43 lines 0 comments Download
M src/compiler/bytecode-graph-builder.h View 3 chunks +6 lines, -14 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 6 chunks +11 lines, -16 lines 0 comments Download
D src/compiler/bytecode-loop-analysis.h View 1 chunk +0 lines, -67 lines 0 comments Download
D src/compiler/bytecode-loop-analysis.cc View 1 chunk +0 lines, -100 lines 0 comments Download
M src/v8.gyp View 1 2 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Leszek Swirski
Hi Ross, Here's the CL simplifying the branch+loop analysis into a single reverse loop analysis ...
4 years, 1 month ago (2016-11-21 17:07:09 UTC) #8
rmcilroy
LGTM Jaro, could you take a look please? https://codereview.chromium.org/2519983002/diff/20001/src/compiler/bytecode-analysis.h File src/compiler/bytecode-analysis.h (right): https://codereview.chromium.org/2519983002/diff/20001/src/compiler/bytecode-analysis.h#newcode22 src/compiler/bytecode-analysis.h:22: // ...
4 years, 1 month ago (2016-11-22 11:02:07 UTC) #12
Jarin
lgtm, thanks for the pictures and explanations. https://codereview.chromium.org/2519983002/diff/20001/src/compiler/bytecode-analysis.cc File src/compiler/bytecode-analysis.cc (right): https://codereview.chromium.org/2519983002/diff/20001/src/compiler/bytecode-analysis.cc#newcode42 src/compiler/bytecode-analysis.cc:42: DCHECK(loop_stack_.top() < ...
4 years, 1 month ago (2016-11-22 11:59:18 UTC) #13
Leszek Swirski
https://codereview.chromium.org/2519983002/diff/20001/src/compiler/bytecode-analysis.cc File src/compiler/bytecode-analysis.cc (right): https://codereview.chromium.org/2519983002/diff/20001/src/compiler/bytecode-analysis.cc#newcode42 src/compiler/bytecode-analysis.cc:42: DCHECK(loop_stack_.top() < loop_header); On 2016/11/22 11:59:18, Jarin wrote: > ...
4 years, 1 month ago (2016-11-22 17:39:03 UTC) #14
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/2519983002/40001
4 years, 1 month ago (2016-11-22 17:39:20 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-22 18:05:09 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 18:05:36 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/292c4a0a2a45b14c86ba911339c2af91a3e2b647
Cr-Commit-Position: refs/heads/master@{#41194}

Powered by Google App Engine
This is Rietveld 408576698