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

Side by Side Diff: test/NaCl/PNaClABI/types.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/module-asm.ll ('k') | test/NaCl/PNaClABI/types-function.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 ; Test types allowed by PNaCl ABI 2 ; Test types allowed by PNaCl ABI
3 3
4 4
5 ; CHECK: Function badReturn has disallowed type: half* () 5 ; CHECK: Function badReturn has disallowed type: half* ()
6 define internal half* @badReturn() { 6 define internal half* @badReturn() {
7 unreachable 7 unreachable
8 } 8 }
9 9
10 ; CHECK: Function badArgType1 has disallowed type: void (half, i32) 10 ; CHECK: Function badArgType1 has disallowed type: void (half, i32)
11 define internal void @badArgType1(half %a, i32 %b) { 11 define internal void @badArgType1(half %a, i32 %b) {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 block: 127 block:
128 128
129 phi %struct.snake [ undef, %entry ] 129 phi %struct.snake [ undef, %entry ]
130 ; CHECK: disallowed: bad operand: {{.*}} %struct.snake 130 ; CHECK: disallowed: bad operand: {{.*}} %struct.snake
131 131
132 phi %struct.linked [ undef, %entry ] 132 phi %struct.linked [ undef, %entry ]
133 ; CHECK-NEXT: disallowed: bad operand: {{.*}} %struct.linked 133 ; CHECK-NEXT: disallowed: bad operand: {{.*}} %struct.linked
134 134
135 ret void 135 ret void
136 } 136 }
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/module-asm.ll ('k') | test/NaCl/PNaClABI/types-function.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698