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

Issue 735513002: Create local config file for subzero reader tests. (Closed)

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

Description

Create local config file for subzero reader tests. Using lit.local.cfg, don't allow reader tests unless dumping of IR is allowed. This was suggested by Jan in: https://codereview.chromium.org/686913005 BUG=None R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=2f6f8605b944b17a307425a81013b51b5a00a1d3

Patch Set 1 #

Patch Set 2 : Fix nit. #

Total comments: 11

Patch Set 3 : Fix error handling #

Patch Set 4 : Fix nits. #

Total comments: 10

Patch Set 5 : Fix issues in patch set 4. #

Total comments: 2

Patch Set 6 : Fix nit. #

Patch Set 7 : Fix nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -341 lines) Patch
M src/PNaClTranslator.cpp View 1 2 3 4 5 62 chunks +171 lines, -107 lines 0 comments Download
A + tests_lit/parse_errs/insertextract-err.ll View 1 2 3 1 chunk +54 lines, -7 lines 0 comments Download
A tests_lit/parse_errs/nacl-fake-intrinsic.ll View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M tests_lit/reader_tests/alloca.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/binops.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/branch.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/call.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/call-indirect.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/casts.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/compare.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/constants.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/forwardref.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/globalinit.pnacl.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/globalrelocs.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/insertextract.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/insertextract-err.ll View 1 2 1 chunk +0 lines, -149 lines 0 comments Download
A tests_lit/reader_tests/lit.local.cfg View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M tests_lit/reader_tests/load.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/nacl-atomic-intrinsics.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/nacl-fake-intrinsic.ll View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
M tests_lit/reader_tests/nacl-other-intrinsics.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/phi.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/select.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/store.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/switch.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/unnamed.ll View 1 chunk +0 lines, -2 lines 0 comments Download
M tests_lit/reader_tests/unreachable.ll View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (1 generated)
Karl
6 years, 1 month ago (2014-11-17 20:52:18 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/735513002/diff/20001/tests_lit/reader_tests/insertextract-err.ll File tests_lit/reader_tests/insertextract-err.ll (left): https://codereview.chromium.org/735513002/diff/20001/tests_lit/reader_tests/insertextract-err.ll#oldcode12 tests_lit/reader_tests/insertextract-err.ll:12: ; CHECK: Error: {{.*}} not {{.*}} constant I didn't ...
6 years, 1 month ago (2014-11-17 22:16:10 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/735513002/diff/20001/tests_lit/reader_tests/insertextract-err.ll File tests_lit/reader_tests/insertextract-err.ll (left): https://codereview.chromium.org/735513002/diff/20001/tests_lit/reader_tests/insertextract-err.ll#oldcode12 tests_lit/reader_tests/insertextract-err.ll:12: ; CHECK: Error: {{.*}} not {{.*}} constant On 2014/11/17 ...
6 years, 1 month ago (2014-11-18 16:04:59 UTC) #4
Karl
https://codereview.chromium.org/735513002/diff/20001/tests_lit/reader_tests/insertextract-err.ll File tests_lit/reader_tests/insertextract-err.ll (left): https://codereview.chromium.org/735513002/diff/20001/tests_lit/reader_tests/insertextract-err.ll#oldcode12 tests_lit/reader_tests/insertextract-err.ll:12: ; CHECK: Error: {{.*}} not {{.*}} constant On 2014/11/18 ...
6 years, 1 month ago (2014-11-19 18:34:10 UTC) #5
Jim Stichnoth
https://codereview.chromium.org/735513002/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/735513002/diff/60001/src/PNaClTranslator.cpp#newcode167 src/PNaClTranslator.cpp:167: friend class BlockParserBaseClass; Can we avoid resorting to friend ...
6 years, 1 month ago (2014-11-19 19:21:00 UTC) #6
jvoung (off chromium)
https://codereview.chromium.org/735513002/diff/60001/tests_lit/parse_errs/insertextract-err.ll File tests_lit/parse_errs/insertextract-err.ll (right): https://codereview.chromium.org/735513002/diff/60001/tests_lit/parse_errs/insertextract-err.ll#newcode18 tests_lit/parse_errs/insertextract-err.ll:18: ; MIN: Error: {{.*}} Invalid function record: <6 4 ...
6 years, 1 month ago (2014-11-19 19:57:55 UTC) #7
Jim Stichnoth
https://codereview.chromium.org/735513002/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/735513002/diff/60001/src/PNaClTranslator.cpp#newcode653 src/PNaClTranslator.cpp:653: for (const auto Val : Record.GetValues()) { Probably better ...
6 years, 1 month ago (2014-11-19 23:30:37 UTC) #8
jvoung (off chromium)
https://codereview.chromium.org/735513002/diff/60001/tests_lit/parse_errs/insertextract-err.ll File tests_lit/parse_errs/insertextract-err.ll (right): https://codereview.chromium.org/735513002/diff/60001/tests_lit/parse_errs/insertextract-err.ll#newcode18 tests_lit/parse_errs/insertextract-err.ll:18: ; MIN: Error: {{.*}} Invalid function record: <6 4 ...
6 years, 1 month ago (2014-11-19 23:59:51 UTC) #9
Karl
https://codereview.chromium.org/735513002/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/735513002/diff/60001/src/PNaClTranslator.cpp#newcode167 src/PNaClTranslator.cpp:167: friend class BlockParserBaseClass; On 2014/11/19 19:21:00, stichnot wrote: > ...
6 years, 1 month ago (2014-11-20 17:32:09 UTC) #10
jvoung (off chromium)
https://codereview.chromium.org/735513002/diff/60001/tests_lit/parse_errs/insertextract-err.ll File tests_lit/parse_errs/insertextract-err.ll (right): https://codereview.chromium.org/735513002/diff/60001/tests_lit/parse_errs/insertextract-err.ll#newcode18 tests_lit/parse_errs/insertextract-err.ll:18: ; MIN: Error: {{.*}} Invalid function record: <6 4 ...
6 years, 1 month ago (2014-11-20 18:14:43 UTC) #11
Karl
Ping? (Still looking for LGTM or comments on what needs to change).
6 years ago (2014-11-24 17:31:33 UTC) #12
jvoung (off chromium)
Otherwise LGTM https://codereview.chromium.org/735513002/diff/80001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/735513002/diff/80001/src/PNaClTranslator.cpp#newcode2530 src/PNaClTranslator.cpp:2530: if (!isValidRecordSize(1, "constants block set type")) Just ...
6 years ago (2014-11-24 18:45:54 UTC) #13
Karl
Committed patchset #7 (id:120001) manually as 2f6f8605b944b17a307425a81013b51b5a00a1d3 (presubmit successful).
6 years ago (2014-12-01 21:39:08 UTC) #14
Karl
6 years ago (2014-12-01 21:39:33 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/735513002/diff/80001/src/PNaClTranslator.cpp
File src/PNaClTranslator.cpp (right):

https://codereview.chromium.org/735513002/diff/80001/src/PNaClTranslator.cpp#...
src/PNaClTranslator.cpp:2530: if (!isValidRecordSize(1, "constants block set
type"))
On 2014/11/24 18:45:53, jvoung wrote:
> Just "set type" now

Done.

Powered by Google App Engine
This is Rietveld 408576698