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

Side by Side Diff: test/NaCl/PNaClABI/types-function.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/types.ll ('k') | test/Transforms/NaCl/rewrite-setjmp-store-error.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 type-checking in function bodies. This test is not intended to verify 2 ; Test type-checking in function bodies. This test is not intended to verify
3 ; all the rules about the various types, but instead to make sure that types 3 ; all the rules about the various types, but instead to make sure that types
4 ; stashed in various places in function bodies are caught. 4 ; stashed in various places in function bodies are caught.
5 5
6 @a2 = private global i17 zeroinitializer 6 @a2 = private global i17 zeroinitializer
7 7
8 ; CHECK: Function func has disallowed type: void (i15) 8 ; CHECK: Function func has disallowed type: void (i15)
9 declare void @func(i15 %arg) 9 declare void @func(i15 %arg)
10 10
11 !llvm.foo = !{!0} 11 !llvm.foo = !{!0}
(...skipping 19 matching lines...) Expand all
31 ret void, !foo !0 31 ret void, !foo !0
32 } 32 }
33 ; CHECK-NOT: disallowed 33 ; CHECK-NOT: disallowed
34 34
35 35
36 ; TODO: 36 ; TODO:
37 ; the bitcode reader seems to expand some operations inline 37 ; the bitcode reader seems to expand some operations inline
38 ; (e.g. fpext, sext, uitofp) such that doing something like 38 ; (e.g. fpext, sext, uitofp) such that doing something like
39 ; %h3 = fadd double 0.0, fpext (half 0.0 to double) 39 ; %h3 = fadd double 0.0, fpext (half 0.0 to double)
40 ; means the verifier pass will never see the fpext or its operands 40 ; means the verifier pass will never see the fpext or its operands
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/types.ll ('k') | test/Transforms/NaCl/rewrite-setjmp-store-error.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698