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

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
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: %if --need=allow_disable_ir_gen --command \
10 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ 10 ; RUN: %p2i -i %s --args -notranslate -timing \
11 ; RUN: -allow-externally-defined-symbols \ 11 ; RUN: -allow-externally-defined-symbols \
12 ; RUN: | %if --need=allow_disable_ir_gen --command \ 12 ; RUN: | %if --need=allow_disable_ir_gen --command \
13 ; RUN: FileCheck --check-prefix=NOIR %s 13 ; RUN: FileCheck --check-prefix=NOIR %s
14 14
15 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 15 @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 16 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
17 17
18 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 18 @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 19 ; CHECK-NEXT: @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
20 20
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 ret i32 0 77 ret i32 0
78 } 78 }
79 79
80 define internal i32 @nacl_tp_tls_offset(i32 %size) { 80 define internal i32 @nacl_tp_tls_offset(i32 %size) {
81 entry: 81 entry:
82 %result = sub i32 0, %size 82 %result = sub i32 0, %size
83 ret i32 %result 83 ret i32 %result
84 } 84 }
85 85
86 ; NOIR: Total across all functions 86 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698