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

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

Issue 956123002: Subzero: Change the name llvm2ice to the more appropriate pnacl-sz. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Make comment correct Created 5 years, 9 months 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
« README.rst ('K') | « tests_lit/parse_errs/insertextract-err.ll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Tests that we don't get fooled by a fake NaCl intrinsic. 1 ; Tests that we don't get fooled by a fake NaCl intrinsic.
2 2
3 ; TODO(kschimpf) Find way to run this through p2i. Note: Can't do this 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, 4 ; currently because run-pnacl-sz.py raises exception on error,
5 ; and output is lost. 5 ; and output is lost.
6 ; RUN: %if --need=allow_dump --command llvm-as < %s \ 6 ; RUN: %if --need=allow_dump --command llvm-as < %s \
7 ; RUN: | %if --need=allow_dump --command pnacl-freeze \ 7 ; RUN: | %if --need=allow_dump --command pnacl-freeze \
8 ; RUN -allow-local-symbol-tables \ 8 ; RUN -allow-local-symbol-tables \
9 ; RUN: | %if --need=allow_dump --command not %llvm2ice -notranslate \ 9 ; RUN: | %if --need=allow_dump --command not %pnacl_sz -notranslate \
10 ; RUN: -verbose=inst -build-on-read \ 10 ; RUN: -verbose=inst -build-on-read \
11 ; RUN: -allow-pnacl-reader-error-recovery \ 11 ; RUN: -allow-pnacl-reader-error-recovery \
12 ; RUN: -allow-local-symbol-tables \ 12 ; RUN: -allow-local-symbol-tables \
13 ; RUN: | %if --need=allow_dump --command FileCheck %s 13 ; RUN: | %if --need=allow_dump --command FileCheck %s
14 14
15 ; RUN: %if --need=no_dump --command llvm-as < %s \ 15 ; RUN: %if --need=no_dump --command llvm-as < %s \
16 ; RUN: | %if --need=no_dump --command pnacl-freeze \ 16 ; RUN: | %if --need=no_dump --command pnacl-freeze \
17 ; RUN -allow-local-symbol-tables \ 17 ; RUN -allow-local-symbol-tables \
18 ; RUN: | %if --need=no_dump --command not %llvm2ice -notranslate \ 18 ; RUN: | %if --need=no_dump --command not %pnacl_sz -notranslate \
19 ; RUN: -verbose=inst -build-on-read \ 19 ; RUN: -verbose=inst -build-on-read \
20 ; RUN: -allow-pnacl-reader-error-recovery \ 20 ; RUN: -allow-pnacl-reader-error-recovery \
21 ; RUN: -allow-local-symbol-tables \ 21 ; RUN: -allow-local-symbol-tables \
22 ; RUN: | %if --need=no_dump --command FileCheck %s --check-prefix=MIN 22 ; RUN: | %if --need=no_dump --command FileCheck %s --check-prefix=MIN
23 23
24 declare i32 @llvm.fake.i32(i32) 24 declare i32 @llvm.fake.i32(i32)
25 25
26 define i32 @testFake(i32 %v) { 26 define i32 @testFake(i32 %v) {
27 %r = call i32 @llvm.fake.i32(i32 %v) 27 %r = call i32 @llvm.fake.i32(i32 %v)
28 ret i32 %r 28 ret i32 %r
29 } 29 }
30 30
31 ; CHECK: Error: ({{.*}}) Invalid PNaCl intrinsic call to llvm.fake.i32 31 ; CHECK: Error: ({{.*}}) Invalid PNaCl intrinsic call to llvm.fake.i32
32 ; MIN: Error: ({{.*}}) Invalid function record: <34 0 3 1> 32 ; MIN: Error: ({{.*}}) Invalid function record: <34 0 3 1>
OLDNEW
« README.rst ('K') | « tests_lit/parse_errs/insertextract-err.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698