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

Issue 317963002: Make py import not assume dir is "pnacl-subzero". Avoid autovect in crosstest. (Closed)

Created:
6 years, 6 months ago by jvoung (off chromium)
Modified:
6 years, 6 months ago
Reviewers:
Jim Stichnoth, wala
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Make py import not assume dir is "pnacl-subzero". Avoid autovect in crosstest. Derek's CL to check out subzero calls the source directory "subzero", and the file header comments call the directory "subzero". Just make the python sys.path munging for importing pydir more generic. Also change crosstest to not run the raw LLVM "opt" with optimizations (only use it for ABI stabilization passes). Instead run pnacl-clang with -O2. Otherwise, newer NACL_SDK versions include a newer LLVM "opt" binary which autovectorizes and may generate vector IR that is not handled by Subzero yet. E.g., LLVM ERROR: Invalid PNaCl instruction: %1 = insertelement <4 x i32> undef, i32 %0, i32 0 w/ pepper_canary to version 37, revision 274873 BUG=none TEST=make -f Makefile.standalone check R=stichnot@chromium.org, wala@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=1248a6d

Patch Set 1 #

Patch Set 2 : no need for disable-opt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -6 lines) Patch
M llvm2iceinsts.py View 1 chunk +1 line, -4 lines 0 comments Download
M pydir/build-pnacl-ir.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jvoung (off chromium)
6 years, 6 months ago (2014-06-05 21:51:10 UTC) #1
Jim Stichnoth
Adding Matt who has also encountered the autovect issue.
6 years, 6 months ago (2014-06-05 21:55:08 UTC) #2
wala
lgtm
6 years, 6 months ago (2014-06-05 22:14:30 UTC) #3
Jim Stichnoth
Also lgtm. I'm a tiny bit wary of taking away -O2 from build-pnacl-ir.py (though I ...
6 years, 6 months ago (2014-06-05 23:06:10 UTC) #4
jvoung (off chromium)
On 2014/06/05 23:06:10, stichnot wrote: > Also lgtm. > > I'm a tiny bit wary ...
6 years, 6 months ago (2014-06-05 23:34:10 UTC) #5
jvoung (off chromium)
6 years, 6 months ago (2014-06-06 15:48:01 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r1248a6d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698