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

Issue 797323002: Simplify LLVM's APInt and APFloat for use in Subzero. (Closed)

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

Simplify LLVM's APInt and APFloat for use in Subzero. In Subzero, we only need to be able to convert 64 bit constants in bitcode files to the corresponding Ice integer or floating type. This CL extracts the minimal implementation needed for Subzero. The intent of this change is to remove loading unnecessary LLVM code into (minimal) llvm2ice. BUG=None R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=3281748ca3956af27081458f7c2daf0973ecf1fd

Patch Set 1 #

Patch Set 2 : Fix nits. #

Total comments: 13

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

Total comments: 2

Patch Set 4 : Fix misspelling. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -12 lines) Patch
A src/IceAPFloat.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A src/IceAPInt.h View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
M src/PNaClTranslator.cpp View 1 2 3 4 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Karl
6 years ago (2014-12-12 21:04:19 UTC) #2
Jim Stichnoth
Sadly, this doesn't seem to change the size of the stripped minimal build at all. ...
6 years ago (2014-12-12 21:54:16 UTC) #3
Karl
https://codereview.chromium.org/797323002/diff/20001/src/IceAPFloat.h File src/IceAPFloat.h (right): https://codereview.chromium.org/797323002/diff/20001/src/IceAPFloat.h#newcode36 src/IceAPFloat.h:36: /// Takes a 64-bit Int and converts it to ...
6 years ago (2014-12-12 22:46:13 UTC) #4
Jim Stichnoth
otherwise lgtm https://codereview.chromium.org/797323002/diff/40001/src/IceAPFloat.h File src/IceAPFloat.h (right): https://codereview.chromium.org/797323002/diff/40001/src/IceAPFloat.h#newcode28 src/IceAPFloat.h:28: "IntType and FpType shoudl be the same ...
6 years ago (2014-12-12 22:53:37 UTC) #5
Karl
Committed patchset #4 (id:60001) manually as 3281748ca3956af27081458f7c2daf0973ecf1fd (presubmit successful).
6 years ago (2014-12-15 17:52:35 UTC) #6
Karl
6 years ago (2014-12-15 17:52:55 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/797323002/diff/40001/src/IceAPFloat.h
File src/IceAPFloat.h (right):

https://codereview.chromium.org/797323002/diff/40001/src/IceAPFloat.h#newcode28
src/IceAPFloat.h:28: "IntType and FpType shoudl be the same width");
On 2014/12/12 22:53:37, stichnot wrote:
> should

Done.

Powered by Google App Engine
This is Rietveld 408576698