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

Side by Side Diff: tests_lit/reader_tests/globalinit.pnacl.ll

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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/forwardref.ll ('k') | tests_lit/reader_tests/globalrelocs.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 ; Test of global initializers. 1 ; Test of global initializers.
2 2
3 ; RUN: %p2i -i %s --insts --args -allow-externally-defined-symbols \ 3 ; RUN: %p2i -i %s --insts --args -allow-externally-defined-symbols \
4 ; RUN: | FileCheck %s 4 ; RUN: | FileCheck %s
5 ; RUN: %l2i -i %s --insts --args -allow-externally-defined-symbols \ 5 ; RUN: %l2i -i %s --insts --args -allow-externally-defined-symbols \
6 ; RUN: | %ifl FileCheck %s 6 ; RUN: | %ifl FileCheck %s
7 ; RUN: %lc2i -i %s --insts --args -allow-externally-defined-symbols \ 7 ; RUN: %lc2i -i %s --insts --args -allow-externally-defined-symbols \
8 ; RUN: | %iflc FileCheck %s 8 ; RUN: | %iflc FileCheck %s
9 ; RUN: %if --need=allow_disable_ir_gen --command \ 9 ; RUN: %p2i -i %s --args -notranslate -timing \
10 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 10 ; RUN: -allow-externally-defined-symbols | \
11 ; RUN: -allow-externally-defined-symbols \
12 ; RUN: | %if --need=allow_disable_ir_gen --command \
13 ; RUN: FileCheck --check-prefix=NOIR %s 11 ; RUN: FileCheck --check-prefix=NOIR %s
14 12
15 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 13 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
16 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 14 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
17 15
18 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 16 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
19 ; CHECK-NEXT: @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 17 ; CHECK-NEXT: @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
20 18
21 @ArrayInit = internal global [20 x i8] c"\0A\00\00\00\14\00\00\00\1E\00\00\00(\0 0\00\002\00\00\00", align 4 19 @ArrayInit = internal global [20 x i8] c"\0A\00\00\00\14\00\00\00\1E\00\00\00(\0 0\00\002\00\00\00", align 4
22 ; CHECK-NEXT: @ArrayInit = internal global [20 x i8] c"\0A\00\00\00\14\00\00\00\ 1E\00\00\00(\00\00\002\00\00\00", align 4 20 ; CHECK-NEXT: @ArrayInit = internal global [20 x i8] c"\0A\00\00\00\14\00\00\00\ 1E\00\00\00(\00\00\002\00\00\00", align 4
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 ret i32 0 75 ret i32 0
78 } 76 }
79 77
80 define internal i32 @nacl_tp_tls_offset(i32 %size) { 78 define internal i32 @nacl_tp_tls_offset(i32 %size) {
81 entry: 79 entry:
82 %result = sub i32 0, %size 80 %result = sub i32 0, %size
83 ret i32 %result 81 ret i32 %result
84 } 82 }
85 83
86 ; NOIR: Total across all functions 84 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/forwardref.ll ('k') | tests_lit/reader_tests/globalrelocs.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698