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

Side by Side Diff: tests_lit/reader_tests/nacl-fake-intrinsic.ll

Issue 735513002: Create local config file for subzero reader tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ; Tests that we don't get fooled by a fake NaCl intrinsic.
2
3 ; TODO(kschimpf) Find way to run this through p2i. Note: Can't do this
4 ; currently because run-llvm2ice.py raises exception on error,
5 ; and output is lost.
6 ; RUN: %if --need=allow_dump --command \
7 ; RUN: llvm-as < %s \
8 ; RUN: | %if --need=allow_dump --command \
9 ; RUN: pnacl-freeze -allow-local-symbol-tables \
10 ; RUN: | %if --need=allow_dump --command \
11 ; RUN: not %llvm2ice -notranslate -verbose=inst -build-on-read \
12 ; RUN: -allow-pnacl-reader-error-recovery \
13 ; RUN: -allow-local-symbol-tables \
14 ; RUN: | %if --need=allow_dump --command \
15 ; RUN: FileCheck %s
16
17 ; RUN: %if --need=no_dump --command \
18 ; RUN: llvm-as < %s \
19 ; RUN: | %if --need=no_dump --command \
20 ; RUN: pnacl-freeze -allow-local-symbol-tables \
21 ; RUN: | %if --need=no_dump --command \
22 ; RUN: not %llvm2ice -notranslate -verbose=inst -build-on-read \
23 ; RUN: -allow-pnacl-reader-error-recovery -allow-local-symbol-tables \
24 ; RUN: | %if --need=no_dump --command \
25 ; RUN: FileCheck --check-prefix=MIN %s
26
27 declare i32 @llvm.fake.i32(i32)
28
29 define i32 @testFake(i32 %v) {
30 %r = call i32 @llvm.fake.i32(i32 %v)
31 ret i32 %r
32 }
33
34 ; CHECK: Error: ({{.*}}) Invalid PNaCl intrinsic call to llvm.fake.i32
35 ; MIN: Error: ({{.*}}) Invalid input record
36
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/nacl-atomic-intrinsics.ll ('k') | tests_lit/reader_tests/nacl-other-intrinsics.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698