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

Side by Side Diff: test/NaCl/PNaClABI/abi-small-arguments.ll

Issue 132693004: PNaCl: Add "not" to various test commands, to pass under LLVM 3.4 (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « test/NaCl/PNaClABI/abi-metadata.ll ('k') | test/NaCl/PNaClABI/abi-stripped-pointers.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; RUN: pnacl-abicheck < %s | FileCheck %s 1 ; RUN: not pnacl-abicheck < %s | FileCheck %s
2 2
3 define void @arg_i1(i1 %bad) { 3 define void @arg_i1(i1 %bad) {
4 ret void 4 ret void
5 } 5 }
6 ; CHECK: Function arg_i1 has disallowed type: 6 ; CHECK: Function arg_i1 has disallowed type:
7 7
8 define void @arg_i16(i32 %allowed, i16 %bad) { 8 define void @arg_i16(i32 %allowed, i16 %bad) {
9 ret void 9 ret void
10 } 10 }
11 ; CHECK: Function arg_i16 has disallowed type: 11 ; CHECK: Function arg_i16 has disallowed type:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 call void %func1(i8 0) 43 call void %func1(i8 0)
44 ; CHECK: bad function callee operand: {{.*}} %func1 44 ; CHECK: bad function callee operand: {{.*}} %func1
45 45
46 %func2 = inttoptr i32 %ptr to i16 ()* 46 %func2 = inttoptr i32 %ptr to i16 ()*
47 ; CHECK: bad result type: %func2 47 ; CHECK: bad result type: %func2
48 %result3 = call i16 %func2() 48 %result3 = call i16 %func2()
49 ; CHECK: bad function callee operand: {{.*}} %func2 49 ; CHECK: bad function callee operand: {{.*}} %func2
50 50
51 ret void 51 ret void
52 } 52 }
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/abi-metadata.ll ('k') | test/NaCl/PNaClABI/abi-stripped-pointers.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698