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: test/NaCl/Bitcode/pnacl-bcdis/intrinsics-bad-types.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod 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
« no previous file with comments | « test/NaCl/Bitcode/pnacl-bcdis/intrinsics.ll ('k') | test/NaCl/Bitcode/pnacl-bcdis/load.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; Tests calls to intrinsics with bad type signatures.
2
3 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bccompress --remove-abbreviations \
4 ; RUN: | not pnacl-bcdis | FileCheck %s
5
6 ; Error where return type should be i32.
7 declare void @llvm.nacl.setjmp(i8*)
8 ; CHECK: Error({{.*}}): Intrinsic llvm.nacl.setjmp expects return type i32. Foun d: void
9
10 ; Error where type of 2nd parameter is wrong (should be i32).
11 declare i32 @llvm.nacl.atomic.load.i32(i32*, i64)
12 ; CHECK: Error({{.*}}): Intrinsic llvm.nacl.atomic.load.i32 expects i32 for argu ment 2. Found: i64
13
14 ; Error where too many arguments are specified.
15 declare void @llvm.nacl.atomic.store.i64(i64, i64*, i32, i32)
16 ; CHECK: Error({{.*}}): Intrinsic llvm.nacl.atomic.store.i64 expects 3 arguments . Found: 4
OLDNEW
« no previous file with comments | « test/NaCl/Bitcode/pnacl-bcdis/intrinsics.ll ('k') | test/NaCl/Bitcode/pnacl-bcdis/load.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698