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

Side by Side Diff: test/NaCl/PNaClABI/intrinsics.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/instructions.ll ('k') | test/NaCl/PNaClABI/linkagetypes.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 ; RUN: pnacl-abicheck -pnaclabi-allow-debug-metadata < %s | \ 2 ; RUN: not pnacl-abicheck -pnaclabi-allow-debug-metadata < %s | \
3 ; RUN: FileCheck %s --check-prefix=DBG 3 ; RUN: FileCheck %s --check-prefix=DBG
4 4
5 ; Test that only white-listed intrinsics are allowed. 5 ; Test that only white-listed intrinsics are allowed.
6 6
7 ; =================================== 7 ; ===================================
8 ; Debug info intrinsics, which are disallowed by default. 8 ; Debug info intrinsics, which are disallowed by default.
9 9
10 ; CHECK: Function llvm.dbg.value is a disallowed LLVM intrinsic 10 ; CHECK: Function llvm.dbg.value is a disallowed LLVM intrinsic
11 ; DBG-NOT: Function llvm.dbg.value is a disallowed LLVM intrinsic 11 ; DBG-NOT: Function llvm.dbg.value is a disallowed LLVM intrinsic
12 declare void @llvm.dbg.value(metadata, i64, metadata) 12 declare void @llvm.dbg.value(metadata, i64, metadata)
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 declare void @llvm.memmove.p0i8.p0i8.i64(i8* %dest, i8* %src, 130 declare void @llvm.memmove.p0i8.p0i8.i64(i8* %dest, i8* %src,
131 i64 %len, i32 %align, i1 %isvolatile) 131 i64 %len, i32 %align, i1 %isvolatile)
132 ; CHECK: Function llvm.memset.p0i8.i64 is a disallowed LLVM intrinsic 132 ; CHECK: Function llvm.memset.p0i8.i64 is a disallowed LLVM intrinsic
133 declare void @llvm.memset.p0i8.i64(i8* %dest, i8 %val, 133 declare void @llvm.memset.p0i8.i64(i8* %dest, i8 %val,
134 i64 %len, i32 %align, i1 %isvolatile) 134 i64 %len, i32 %align, i1 %isvolatile)
135 135
136 ; Test that the ABI checker checks the full function name. 136 ; Test that the ABI checker checks the full function name.
137 ; CHECK: Function llvm.memset.foo is a disallowed LLVM intrinsic 137 ; CHECK: Function llvm.memset.foo is a disallowed LLVM intrinsic
138 declare void @llvm.memset.foo(i8* %dest, i8 %val, 138 declare void @llvm.memset.foo(i8* %dest, i8 %val,
139 i64 %len, i32 %align, i1 %isvolatile) 139 i64 %len, i32 %align, i1 %isvolatile)
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/instructions.ll ('k') | test/NaCl/PNaClABI/linkagetypes.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698