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

Issue 395193005: Start processing function blocks in Subzero. (Closed)

Created:
6 years, 5 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

Patch Set 1 #

Patch Set 2 : Not ready for review. #

Patch Set 3 : Code ready for review. #

Total comments: 43

Patch Set 4 : Fix issues with patch set 3. #

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

Total comments: 49

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

Patch Set 7 : fix missed issues in patch set 5. #

Patch Set 8 : Run format-diff #

Total comments: 11

Patch Set 9 : Fix issues in patch set 8. #

Patch Set 10 : Fix formatting. #

Total comments: 19

Patch Set 11 : Fix issues in patch set 10. #

Total comments: 30

Patch Set 12 : Fix issues with patch set 11. #

Patch Set 13 : Fix conditional break in switch statement. #

Total comments: 2

Patch Set 14 : Fix issues in patch set 13. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1889 lines, -255 lines) Patch
M Makefile.standalone View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M src/IceConverter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -4 lines 0 comments Download
M src/IceConverter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +28 lines, -101 lines 0 comments Download
M src/IceInst.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/IceInst.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +7 lines, -5 lines 0 comments Download
M src/IceTranslator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +15 lines, -8 lines 0 comments Download
A src/IceTypeConverter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +80 lines, -0 lines 0 comments Download
A src/IceTypeConverter.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +108 lines, -0 lines 0 comments Download
M src/IceTypes.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +10 lines, -1 line 0 comments Download
M src/IceTypes.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +164 lines, -35 lines 0 comments Download
M src/IceTypes.def View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
M src/PNaClTranslator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M src/PNaClTranslator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 28 chunks +548 lines, -97 lines 0 comments Download
M src/llvm2ice.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -3 lines 0 comments Download
A tests_lit/reader_tests/binops.ll View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +892 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Karl
PTAL. Thanks.
6 years, 5 months ago (2014-07-17 16:25:58 UTC) #1
Jim Stichnoth
Some initial comments. I still need to look through PNaClTranslator.cpp. https://codereview.chromium.org/395193005/diff/30001/src/IceTranslator.h File src/IceTranslator.h (right): https://codereview.chromium.org/395193005/diff/30001/src/IceTranslator.h#newcode38 ...
6 years, 5 months ago (2014-07-17 23:00:33 UTC) #2
jvoung (off chromium)
Some initial comments too https://codereview.chromium.org/395193005/diff/30001/src/IceConverter.cpp File src/IceConverter.cpp (right): https://codereview.chromium.org/395193005/diff/30001/src/IceConverter.cpp#newcode58 src/IceConverter.cpp:58: LLVM2ICEConverter(Ice::GlobalContext *Ctx, LLVMContext& LlvmContext) Before ...
6 years, 5 months ago (2014-07-17 23:57:56 UTC) #3
Karl
https://codereview.chromium.org/395193005/diff/30001/src/IceConverter.cpp File src/IceConverter.cpp (right): https://codereview.chromium.org/395193005/diff/30001/src/IceConverter.cpp#newcode58 src/IceConverter.cpp:58: LLVM2ICEConverter(Ice::GlobalContext *Ctx, LLVMContext& LlvmContext) On 2014/07/17 23:57:55, jvoung wrote: ...
6 years, 5 months ago (2014-07-18 20:27:44 UTC) #4
Karl
6 years, 5 months ago (2014-07-18 20:27:46 UTC) #5
Jim Stichnoth
https://codereview.chromium.org/395193005/diff/30001/src/IceTypeConverter.h File src/IceTypeConverter.h (right): https://codereview.chromium.org/395193005/diff/30001/src/IceTypeConverter.h#newcode22 src/IceTypeConverter.h:22: #include <map> On 2014/07/17 23:57:55, jvoung wrote: > Currently, ...
6 years, 5 months ago (2014-07-21 22:25:22 UTC) #6
jvoung (off chromium)
will read through more later today, a couple of things spotted below https://codereview.chromium.org/395193005/diff/70001/src/IceConverter.cpp File src/IceConverter.cpp ...
6 years, 5 months ago (2014-07-22 18:40:19 UTC) #7
jvoung (off chromium)
https://codereview.chromium.org/395193005/diff/70001/src/IceTypes.cpp File src/IceTypes.cpp (right): https://codereview.chromium.org/395193005/diff/70001/src/IceTypes.cpp#newcode90 src/IceTypes.cpp:90: static_cast<bool>(TypeAttributes[Index].TypeFlags & TypeFlagIsInteger); Does this need to be a ...
6 years, 5 months ago (2014-07-23 16:10:17 UTC) #8
Karl
https://codereview.chromium.org/395193005/diff/70001/src/IceConverter.cpp File src/IceConverter.cpp (right): https://codereview.chromium.org/395193005/diff/70001/src/IceConverter.cpp#newcode61 src/IceConverter.cpp:61: // model. On 2014/07/22 18:40:18, jvoung wrote: > leftover ...
6 years, 5 months ago (2014-07-23 20:22:21 UTC) #9
jvoung (off chromium)
Otherwise looks okay https://codereview.chromium.org/395193005/diff/70001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/395193005/diff/70001/src/PNaClTranslator.cpp#newcode824 src/PNaClTranslator.cpp:824: Ice::Cfg *Func; On 2014/07/23 20:22:21, Karl ...
6 years, 5 months ago (2014-07-24 19:01:45 UTC) #10
Jim Stichnoth
https://codereview.chromium.org/395193005/diff/70001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/395193005/diff/70001/src/PNaClTranslator.cpp#newcode834 src/PNaClTranslator.cpp:834: std::vector<Ice::Operand *> LocalVars; On 2014/07/24 19:01:44, jvoung wrote: > ...
6 years, 5 months ago (2014-07-24 19:55:22 UTC) #11
Karl
https://codereview.chromium.org/395193005/diff/70001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/395193005/diff/70001/src/PNaClTranslator.cpp#newcode824 src/PNaClTranslator.cpp:824: Ice::Cfg *Func; On 2014/07/24 19:01:44, jvoung wrote: > On ...
6 years, 5 months ago (2014-07-25 21:49:03 UTC) #12
jvoung (off chromium)
https://codereview.chromium.org/395193005/diff/160001/src/IceTypes.cpp File src/IceTypes.cpp (right): https://codereview.chromium.org/395193005/diff/160001/src/IceTypes.cpp#newcode70 src/IceTypes.cpp:70: // Verify Number vector elements consistent with IsVec. nit: ...
6 years, 5 months ago (2014-07-25 22:42:09 UTC) #13
Karl
https://codereview.chromium.org/395193005/diff/160001/src/IceTypes.cpp File src/IceTypes.cpp (right): https://codereview.chromium.org/395193005/diff/160001/src/IceTypes.cpp#newcode70 src/IceTypes.cpp:70: // Verify Number vector elements consistent with IsVec. On ...
6 years, 4 months ago (2014-07-30 20:16:15 UTC) #14
jvoung (off chromium)
https://codereview.chromium.org/395193005/diff/180001/src/IceTypes.cpp File src/IceTypes.cpp (right): https://codereview.chromium.org/395193005/diff/180001/src/IceTypes.cpp#newcode25 src/IceTypes.cpp:25: void xIceTypeMacroIntegrityCheck() { you might have to put an ...
6 years, 4 months ago (2014-07-31 16:18:29 UTC) #15
Jim Stichnoth
https://codereview.chromium.org/395193005/diff/180001/src/IceInst.cpp File src/IceInst.cpp (right): https://codereview.chromium.org/395193005/diff/180001/src/IceInst.cpp#newcode233 src/IceInst.cpp:233: return OpIndex < InstArithmeticAttributesSize Instead of "OpIndex < InstArithmeticAttributesSize", ...
6 years, 4 months ago (2014-08-01 18:05:34 UTC) #16
Karl
https://codereview.chromium.org/395193005/diff/180001/src/IceInst.cpp File src/IceInst.cpp (right): https://codereview.chromium.org/395193005/diff/180001/src/IceInst.cpp#newcode233 src/IceInst.cpp:233: return OpIndex < InstArithmeticAttributesSize On 2014/08/01 18:05:33, stichnot wrote: ...
6 years, 4 months ago (2014-08-25 17:46:54 UTC) #17
Jim Stichnoth
Otherwise LGTM. https://codereview.chromium.org/395193005/diff/220001/src/IceTypes.cpp File src/IceTypes.cpp (right): https://codereview.chromium.org/395193005/diff/220001/src/IceTypes.cpp#newcode17 src/IceTypes.cpp:17: // #include "llvm/ADT/STLExtras.h" Just remove if it's ...
6 years, 3 months ago (2014-08-27 20:47:26 UTC) #18
jvoung (off chromium)
LGTM https://codereview.chromium.org/395193005/diff/100016/tests_lit/reader_tests/binops.ll File tests_lit/reader_tests/binops.ll (right): https://codereview.chromium.org/395193005/diff/100016/tests_lit/reader_tests/binops.ll#newcode721 tests_lit/reader_tests/binops.ll:721: ; CHECK-NEXT: } On 2014/07/24 19:01:44, jvoung wrote: ...
6 years, 3 months ago (2014-08-27 22:06:27 UTC) #19
Karl
Jan, do you have any additional feedback on this CL? Or, should I assume Jim's ...
6 years, 3 months ago (2014-08-27 22:09:07 UTC) #20
Karl
https://codereview.chromium.org/395193005/diff/100016/tests_lit/reader_tests/binops.ll File tests_lit/reader_tests/binops.ll (right): https://codereview.chromium.org/395193005/diff/100016/tests_lit/reader_tests/binops.ll#newcode721 tests_lit/reader_tests/binops.ll:721: ; CHECK-NEXT: } On 2014/07/24 19:01:44, jvoung wrote: > ...
6 years, 3 months ago (2014-08-27 22:34:20 UTC) #21
Karl
https://codereview.chromium.org/395193005/diff/220001/src/IceTypes.cpp File src/IceTypes.cpp (right): https://codereview.chromium.org/395193005/diff/220001/src/IceTypes.cpp#newcode17 src/IceTypes.cpp:17: // #include "llvm/ADT/STLExtras.h" On 2014/08/27 20:47:26, stichnot wrote: > ...
6 years, 3 months ago (2014-08-27 22:34:50 UTC) #22
Karl
6 years, 3 months ago (2014-08-27 22:35:07 UTC) #23
Message was sent while issue was closed.
Committed patchset #14 (id:240001) manually as d6064a1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698