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

Side by Side Diff: tests_lit/reader_tests/unnamed.ll

Issue 600043002: Clean up run script to use for testing Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes for rebase from master. Created 6 years, 2 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 | « tests_lit/reader_tests/switch.ll ('k') | tests_lit/reader_tests/unreachable.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 ; Tests that we name unnamed global addresses. 1 ; Tests that we name unnamed global addresses.
2 2
3 ; RUN: llvm-as < %s | pnacl-freeze \ 3 ; RUN: %p2i --no-local-syms -i %s --insts | FileCheck %s
4 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \
5 ; RUN: -allow-pnacl-reader-error-recovery \
6 ; RUN: | FileCheck %s
7 4
8 ; RUN: llvm-as < %s | pnacl-freeze \ 5 ; RUN: %p2i --no-local-syms -i %s --insts --args \
9 ; RUN: | %llvm2ice -notranslate -verbose=inst -build-on-read \ 6 ; RUN: -default-function-prefix=h -default-global-prefix=g \
10 ; RUN: -default-function-prefix=h -default-global-prefix=g \ 7 ; RUN: | FileCheck --check-prefix=BAD %s
11 ; RUN: -allow-pnacl-reader-error-recovery \
12 ; RUN: | FileCheck --check-prefix=BAD %s
13 8
14 ; TODO(kschimpf) Check global variable declarations, once generated. 9 ; TODO(kschimpf) Check global variable declarations, once generated.
15 10
16 @0 = internal global [4 x i8] zeroinitializer, align 4 11 @0 = internal global [4 x i8] zeroinitializer, align 4
17 @1 = internal constant [10 x i8] c"Some stuff", align 1 12 @1 = internal constant [10 x i8] c"Some stuff", align 1
18 @g = internal global [4 x i8] zeroinitializer, align 4 13 @g = internal global [4 x i8] zeroinitializer, align 4
19 14
20 ; BAD: Warning: Default global prefix 'g' conflicts with name 'g'. 15 ; BAD: Warning: Default global prefix 'g' conflicts with name 'g'.
21 16
22 define i32 @2(i32 %v) { 17 define i32 @2(i32 %v) {
(...skipping 17 matching lines...) Expand all
40 ; CHECK-NEXT: } 35 ; CHECK-NEXT: }
41 36
42 define void @3() { 37 define void @3() {
43 ret void 38 ret void
44 } 39 }
45 40
46 ; CHECK-NEXT: define void @Function1() { 41 ; CHECK-NEXT: define void @Function1() {
47 ; CHECK-NEXT: __0: 42 ; CHECK-NEXT: __0:
48 ; CHECK-NEXT: ret void 43 ; CHECK-NEXT: ret void
49 ; CHECK-NEXT: } 44 ; CHECK-NEXT: }
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/switch.ll ('k') | tests_lit/reader_tests/unreachable.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698