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

Side by Side Diff: test/NaCl/PNaClABI/abi-alignment.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-aliases.ll ('k') | test/NaCl/PNaClABI/abi-arithmetic-attributes.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 ; Test the "align" attributes that are allowed on load and store 3 ; Test the "align" attributes that are allowed on load and store
4 ; instructions. 4 ; instructions.
5 5
6 6
7 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 7 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
8 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 8 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
9 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1) 9 declare void @llvm.memset.p0i8.i32(i8*, i8, i32, i32, i1)
10 10
11 11
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 i32 10, i32 %align, i1 false) 88 i32 10, i32 %align, i1 false)
89 call void @llvm.memset.p0i8.i32(i8* %ptr.p, i8 99, 89 call void @llvm.memset.p0i8.i32(i8* %ptr.p, i8 99,
90 i32 10, i32 %align, i1 false) 90 i32 10, i32 %align, i1 false)
91 ; CHECK-NEXT: bad alignment: call void @llvm.memcpy 91 ; CHECK-NEXT: bad alignment: call void @llvm.memcpy
92 ; CHECK-NEXT: bad alignment: call void @llvm.memmove 92 ; CHECK-NEXT: bad alignment: call void @llvm.memmove
93 ; CHECK-NEXT: bad alignment: call void @llvm.memset 93 ; CHECK-NEXT: bad alignment: call void @llvm.memset
94 94
95 ret void 95 ret void
96 } 96 }
97 ; CHECK-NOT: disallowed 97 ; CHECK-NOT: disallowed
OLDNEW
« no previous file with comments | « test/NaCl/PNaClABI/abi-aliases.ll ('k') | test/NaCl/PNaClABI/abi-arithmetic-attributes.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698