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

Issue 385133006: Various improvements related to legalization code. (Closed)

Created:
6 years, 5 months ago by wala
Modified:
6 years, 5 months ago
Reviewers:
Jim Stichnoth
CC:
native-client-reviews_googlegroups.com
Base URL:
https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Various improvements related to legalization code. 1) In makeHelperCall(), function pointers that are created should have type IceType_i32, not the functions' own return type. 2) In legalize(), change the name of WillHaveRegister to MustHaveRegister. Add a comment to clarify the condition being computed. 3) In legalize(), add an assert to make sure that vector "constants" don't get legalized (other than undef). There should be no constants of vector type. 4) In copyToReg(), replace an unnecessary use of Src->getType(). BUG=none R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=ad8f726

Patch Set 1 #

Total comments: 3

Patch Set 2 : AlreadyInRegister -> MustHaveRegister #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M src/IceTargetLoweringX8632.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 3 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
wala
6 years, 5 months ago (2014-07-12 02:19:59 UTC) #1
Jim Stichnoth
LGTM with a couple minor comments. https://codereview.chromium.org/385133006/diff/1/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/385133006/diff/1/src/IceTargetLoweringX8632.cpp#newcode2675 src/IceTargetLoweringX8632.cpp:2675: bool AlreadyInRegister = ...
6 years, 5 months ago (2014-07-14 19:44:17 UTC) #2
wala
https://codereview.chromium.org/385133006/diff/1/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/385133006/diff/1/src/IceTargetLoweringX8632.cpp#newcode2675 src/IceTargetLoweringX8632.cpp:2675: bool AlreadyInRegister = On 2014/07/14 19:44:17, stichnot wrote: > ...
6 years, 5 months ago (2014-07-14 20:40:03 UTC) #3
Jim Stichnoth
On 2014/07/14 20:40:03, wala wrote: > https://codereview.chromium.org/385133006/diff/1/src/IceTargetLoweringX8632.cpp > File src/IceTargetLoweringX8632.cpp (right): > > https://codereview.chromium.org/385133006/diff/1/src/IceTargetLoweringX8632.cpp#newcode2675 > ...
6 years, 5 months ago (2014-07-14 20:51:52 UTC) #4
wala
6 years, 5 months ago (2014-07-15 00:37:40 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as rad8f726 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698