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

Issue 514273002: Add cast instructions to subzero's pnacl bitcode translator. (Closed)

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

Description

Add cast instructions to subzero's pnacl bitcode translator. Also clean up other error cases (in function block) to simply return, since they have already generated an error message. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3894 R=jvoung@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=c0fdc27

Patch Set 1 #

Patch Set 2 : Fix nit in comment. #

Total comments: 6

Patch Set 3 : Fix issues in patch set 2. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -4 lines) Patch
M src/PNaClTranslator.cpp View 1 2 4 chunks +75 lines, -4 lines 0 comments Download
A tests_lit/reader_tests/casts.ll View 1 2 1 chunk +537 lines, -0 lines 2 comments Download

Messages

Total messages: 10 (0 generated)
Karl
kschimpf@google.com changed reviewers: + jvoung@chromium.org, stichnot@google.com
6 years, 3 months ago (2014-08-28 18:22:22 UTC) #1
Karl
6 years, 3 months ago (2014-08-28 18:22:30 UTC) #2
jvoung (off chromium)
looks mostly good to me https://codereview.chromium.org/514273002/diff/20001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/514273002/diff/20001/src/PNaClTranslator.cpp#newcode1174 src/PNaClTranslator.cpp:1174: if (!naclbitc::DecodeCastOpcode(Values[2], LLVMCastOp) Should ...
6 years, 3 months ago (2014-08-28 21:35:03 UTC) #3
Jim Stichnoth
stichnot@chromium.org changed reviewers: + stichnot@chromium.org - stichnot@google.com
6 years, 3 months ago (2014-08-28 21:58:54 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/514273002/diff/20001/tests_lit/reader_tests/casts.ll File tests_lit/reader_tests/casts.ll (right): https://codereview.chromium.org/514273002/diff/20001/tests_lit/reader_tests/casts.ll#newcode446 tests_lit/reader_tests/casts.ll:446: define double @BitcastI64(i64 %v) { For completeness, add BitcastFloat ...
6 years, 3 months ago (2014-08-28 22:16:04 UTC) #5
Karl
https://codereview.chromium.org/514273002/diff/20001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/514273002/diff/20001/src/PNaClTranslator.cpp#newcode1174 src/PNaClTranslator.cpp:1174: if (!naclbitc::DecodeCastOpcode(Values[2], LLVMCastOp) On 2014/08/28 21:35:03, jvoung wrote: > ...
6 years, 3 months ago (2014-08-29 16:00:30 UTC) #6
Jim Stichnoth
lgtm
6 years, 3 months ago (2014-08-29 17:24:00 UTC) #7
jvoung (off chromium)
Otherwise LGTM too https://codereview.chromium.org/514273002/diff/40001/tests_lit/reader_tests/casts.ll File tests_lit/reader_tests/casts.ll (right): https://codereview.chromium.org/514273002/diff/40001/tests_lit/reader_tests/casts.ll#newcode516 tests_lit/reader_tests/casts.ll:516: ; CHECK-NEXT: define void @BitcastV4xi16(<8 x ...
6 years, 3 months ago (2014-08-29 17:26:34 UTC) #8
Karl
Committed patchset #3 (id:40001) manually as c0fdc27 (tree was closed).
6 years, 3 months ago (2014-09-02 17:47:40 UTC) #9
Karl
6 years, 3 months ago (2014-09-02 17:47:57 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/514273002/diff/40001/tests_lit/reader_tests/c...
File tests_lit/reader_tests/casts.ll (right):

https://codereview.chromium.org/514273002/diff/40001/tests_lit/reader_tests/c...
tests_lit/reader_tests/casts.ll:516: ; CHECK-NEXT: define void @BitcastV4xi16(<8
x i16> %__0) {
On 2014/08/29 17:26:34, jvoung wrote:
> Function name should be V8xi16 ?

Done.

Powered by Google App Engine
This is Rietveld 408576698