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

Issue 794823002: Remove using LLVM tools to check correctness of cast operation. (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

Remove using LLVM tools to check correctness of cast operation. Removes cast instruction checks (in PNaClTranslator.cpp) that used LLVM utilities to use locally defined methods instead. Remove the need to call naclbitc::DecodeCastOpcode and CastInst::castIsValid. Also removes two more calls to convertToLLVMType. BUG= None R=jvoung@chromium.org, stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=bf170370805150026104a9e42e07fb17b0971ad7

Patch Set 1 #

Patch Set 2 : Fix formatting issues and some simple refactorings. #

Patch Set 3 : Try again. #

Patch Set 4 : Try once more. #

Total comments: 26

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -46 lines) Patch
M src/IceInst.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceInst.cpp View 1 2 3 4 1 chunk +10 lines, -2 lines 0 comments Download
M src/PNaClTranslator.cpp View 1 2 3 4 2 chunks +140 lines, -44 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Karl
Ping?
6 years ago (2014-12-12 21:20:16 UTC) #2
Jim Stichnoth
https://codereview.chromium.org/794823002/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/794823002/diff/60001/src/PNaClTranslator.cpp#newcode1609 src/PNaClTranslator.cpp:1609: void simplifyOutCommonVectorType(Ice::Type &Type1, Ice::Type &Type2) const { All of ...
6 years ago (2014-12-12 22:47:55 UTC) #3
jvoung (off chromium)
https://codereview.chromium.org/794823002/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/794823002/diff/60001/src/PNaClTranslator.cpp#newcode1628 src/PNaClTranslator.cpp:1628: return Ice::getScalarIntBitWidth(SourceType) > nit: One of the getScalarIntBitWidth is ...
6 years ago (2014-12-12 23:46:45 UTC) #4
Karl
https://codereview.chromium.org/794823002/diff/60001/src/PNaClTranslator.cpp File src/PNaClTranslator.cpp (right): https://codereview.chromium.org/794823002/diff/60001/src/PNaClTranslator.cpp#newcode1609 src/PNaClTranslator.cpp:1609: void simplifyOutCommonVectorType(Ice::Type &Type1, Ice::Type &Type2) const { On 2014/12/12 ...
6 years ago (2014-12-15 17:40:19 UTC) #5
jvoung (off chromium)
lgtm
6 years ago (2014-12-15 18:11:44 UTC) #6
Jim Stichnoth
also lgtm
6 years ago (2014-12-15 18:12:25 UTC) #7
Karl
6 years ago (2014-12-15 18:16:43 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
bf170370805150026104a9e42e07fb17b0971ad7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698