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

Side by Side Diff: tests_lit/llvm2ice_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/llvm2ice_tests/undef.ll ('k') | tests_lit/llvm2ice_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: %llvm2ice -notranslate -verbose=inst < %s | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 4
5 ; RUN: %llvm2ice -notranslate -verbose=inst -default-function-prefix=h \ 5 ; RUN: %p2i -i %s --insts --args -default-function-prefix=h \
6 ; RUN: -default-global-prefix=g < %s | FileCheck --check-prefix=BAD %s 6 ; RUN: -default-global-prefix=g | FileCheck --check-prefix=BAD %s
7 7
8 @0 = internal global [4 x i8] zeroinitializer, align 4 8 @0 = internal global [4 x i8] zeroinitializer, align 4
9 9
10 ; CHECK: @Global = internal global [4 x i8] zeroinitializer, align 4 10 ; CHECK: @Global = internal global [4 x i8] zeroinitializer, align 4
11 11
12 @1 = internal constant [10 x i8] c"Some stuff", align 1 12 @1 = internal constant [10 x i8] c"Some stuff", align 1
13 13
14 ; CHECK-NEXT: @Global1 = internal constant [10 x i8] c"Some stuff", align 1 14 ; CHECK-NEXT: @Global1 = internal constant [10 x i8] c"Some stuff", align 1
15 15
16 @g = internal global [4 x i8] zeroinitializer, align 4 16 @g = internal global [4 x i8] zeroinitializer, align 4
(...skipping 24 matching lines...) Expand all
41 41
42 define void @3() { 42 define void @3() {
43 ret void 43 ret void
44 } 44 }
45 45
46 ; CHECK-NEXT: define void @Function1() { 46 ; CHECK-NEXT: define void @Function1() {
47 ; CHECK-NEXT: __0: 47 ; CHECK-NEXT: __0:
48 ; CHECK-NEXT: ret void 48 ; CHECK-NEXT: ret void
49 ; CHECK-NEXT: } 49 ; CHECK-NEXT: }
50 50
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/undef.ll ('k') | tests_lit/llvm2ice_tests/unreachable.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698