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

Issue 1368993004: Subzero: Improve usability of liveness-related tools. (Closed)

Created:
5 years, 2 months ago by Jim Stichnoth
Modified:
5 years, 2 months ago
Reviewers:
sehr, John
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Improve usability of liveness-related tools. 1. Rename all identifiers containing "nonkillable" to use the more understandable "redefined". 2. Change inferTwoAddress() to be called inferRedefinition(), and to check *all* instruction source variables (instead of just the first source operand) against the Dest variable. This eliminates the need for several instances of _set_dest_redefined(). The performance impact on translation time is something like 0.1%, which is dwarfed by the usability gain. 3. Change a cryptic assert in (O2) live range construction to print detailed information on the liveness errors. 4. Change a cryptic assert in (Om1) live range construction to do the same. BUG= none R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=230d4101fb3c591d044406eef27d0ce43ffab53e

Patch Set 1 #

Patch Set 2 : Fix comments #

Total comments: 10

Patch Set 3 : Rebase #

Patch Set 4 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -112 lines) Patch
M src/IceCfg.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/IceCfgNode.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/IceCfgNode.cpp View 1 2 3 3 chunks +62 lines, -12 lines 0 comments Download
M src/IceInst.h View 2 chunks +11 lines, -6 lines 0 comments Download
M src/IceInst.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/IceRegAlloc.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 2 3 5 chunks +68 lines, -7 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 3 2 chunks +5 lines, -6 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 2 3 1 chunk +12 lines, -8 lines 0 comments Download
M src/IceTargetLoweringARM32.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M src/IceTargetLoweringARM32.cpp View 1 2 3 13 chunks +19 lines, -17 lines 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/IceTargetLoweringX86Base.h View 5 chunks +7 lines, -7 lines 0 comments Download
M src/IceTargetLoweringX86BaseImpl.h View 1 2 3 13 chunks +28 lines, -43 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Jim Stichnoth
5 years, 2 months ago (2015-09-25 20:34:56 UTC) #2
John
lgtm just suggestions. lgtm otherwise. By the way, I just thought that maybe "_redefining_mov" is ...
5 years, 2 months ago (2015-09-25 23:02:17 UTC) #3
Jim Stichnoth
Thanks! https://codereview.chromium.org/1368993004/diff/20001/src/IceCfgNode.cpp File src/IceCfgNode.cpp (right): https://codereview.chromium.org/1368993004/diff/20001/src/IceCfgNode.cpp#newcode701 src/IceCfgNode.cpp:701: if (BuildDefs::asserts()) { On 2015/09/25 23:02:16, John wrote: ...
5 years, 2 months ago (2015-09-25 23:56:01 UTC) #4
Jim Stichnoth
5 years, 2 months ago (2015-09-26 00:40:39 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
230d4101fb3c591d044406eef27d0ce43ffab53e (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698