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

Issue 541093002: Subzero: Fix sext/zext lowering with i1 source operands. (Closed)

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

Description

Subzero: Fix sext/zext lowering with i1 source operands. Also declare a few variables as Constant* instead of Operand* when they hold the result of Ctx->getConstantInt(), to be consistent with the rest of the code. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=dd30c81

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address Jan's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -33 lines) Patch
M src/IceTargetLoweringX8632.cpp View 1 4 chunks +51 lines, -31 lines 0 comments Download
M tests_lit/llvm2ice_tests/64bit.pnacl.ll View 1 2 chunks +20 lines, -2 lines 0 comments Download
A tests_lit/llvm2ice_tests/sext_zext_i1.ll View 1 chunk +96 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Jim Stichnoth
6 years, 3 months ago (2014-09-04 20:00:15 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/541093002/diff/1/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/541093002/diff/1/src/IceTargetLoweringX8632.cpp#newcode1927 src/IceTargetLoweringX8632.cpp:1927: Constant *ShiftAmount = Ctx->getConstantInt(IceType_i32, 31); nit: Since the later ...
6 years, 3 months ago (2014-09-04 21:05:41 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/541093002/diff/1/src/IceTargetLoweringX8632.cpp File src/IceTargetLoweringX8632.cpp (right): https://codereview.chromium.org/541093002/diff/1/src/IceTargetLoweringX8632.cpp#newcode1927 src/IceTargetLoweringX8632.cpp:1927: Constant *ShiftAmount = Ctx->getConstantInt(IceType_i32, 31); On 2014/09/04 21:05:41, jvoung ...
6 years, 3 months ago (2014-09-04 21:43:07 UTC) #4
jvoung (off chromium)
lgtm
6 years, 3 months ago (2014-09-04 23:30:25 UTC) #5
Jim Stichnoth
6 years, 3 months ago (2014-09-04 23:39:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as dd30c81 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698