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

Side by Side Diff: test/NaCl/Bitcode/pnacl-bcdis/alloca.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/null.ll ('k') | test/NaCl/Bitcode/pnacl-bcdis/binops.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 ; Test alloca instructions.
2
3 ; RUN: llvm-as < %s | pnacl-freeze | pnacl-bccompress --remove-abbreviations \
4 ; RUN: | pnacl-bcdis | FileCheck %s
5
6 define void @AllocaTests(i32 %p0) {
7
8 ; CHECK: | | %b0:
9
10 %v0 = alloca i8, i32 1, align 4
11 %v1 = alloca i8, i32 4, align 4
12 %v2 = alloca i8, i32 %p0, align 128
13 ret void
14
15 ; CHECK-NEXT: {{.*}}| 3: <19, 2, 3> | %v0 = alloca i8, i32 % c0, align 4;
16 ; CHECK-NEXT: {{.*}}| 3: <19, 2, 3> | %v1 = alloca i8, i32 % c1, align 4;
17 ; CHECK-NEXT: {{.*}}| 3: <19, 5, 8> | %v2 = alloca i8, i32 % p0,
18 ; CHECK-NEXT: | | align 128;
19 ; CHECK-NEXT: {{.*}}| 3: <10> | ret void;
20
21 }
OLDNEW
« no previous file with comments | « test/NaCl/Bitcode/null.ll ('k') | test/NaCl/Bitcode/pnacl-bcdis/binops.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698