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

Side by Side Diff: tests_lit/reader_tests/globalrelocs.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/globalinit.pnacl.ll ('k') | tests_lit/reader_tests/insertextract.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 if we handle global variables with relocation initializers. 1 ; Tests if we handle global variables with relocation initializers.
2 2
3 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s 4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s 5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s
6 ; RUN: %if --need=allow_disable_ir_gen --command \ 6 ; RUN: %p2i -i %s --args -notranslate -timing | \
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \
8 ; RUN: | %if --need=allow_disable_ir_gen --command \
9 ; RUN: FileCheck --check-prefix=NOIR %s 7 ; RUN: FileCheck --check-prefix=NOIR %s
10 8
11 @bytes = internal global [7 x i8] c"abcdefg" 9 @bytes = internal global [7 x i8] c"abcdefg"
12 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" 10 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg"
13 11
14 @const_bytes = internal constant [7 x i8] c"abcdefg" 12 @const_bytes = internal constant [7 x i8] c"abcdefg"
15 ; CHECK-NEXT: @const_bytes = internal constant [7 x i8] c"abcdefg" 13 ; CHECK-NEXT: @const_bytes = internal constant [7 x i8] c"abcdefg"
16 14
17 @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32) 15 @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32)
18 ; CHECK-NEXT: @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32) 16 ; CHECK-NEXT: @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32)
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 @short = internal constant [2 x i8] zeroinitializer 91 @short = internal constant [2 x i8] zeroinitializer
94 ; CHECK-NEXT: @short = internal constant [2 x i8] zeroinitializer 92 ; CHECK-NEXT: @short = internal constant [2 x i8] zeroinitializer
95 93
96 define internal void @func() { 94 define internal void @func() {
97 ret void 95 ret void
98 } 96 }
99 97
100 ; CHECK-NEXT: define internal void @func() { 98 ; CHECK-NEXT: define internal void @func() {
101 99
102 ; NOIR: Total across all functions 100 ; NOIR: Total across all functions
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/globalinit.pnacl.ll ('k') | tests_lit/reader_tests/insertextract.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698