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

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

Issue 659513005: Allow conditional lit tests in Subzero, based on build flags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add -Wno-error=unused-parameter Created 6 years, 1 month 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/unnamed.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 ; Test that we handle it in the ICE converter.
4 ; RUN: %lc2i -i %s --insts | FileCheck %s
5
6 ; Test that we handle it using Subzero's bitcode reader.
7 ; RUN: %p2i -i %s --insts | FileCheck %s 3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s
8 6
9 @bytes = internal global [7 x i8] c"abcdefg" 7 @bytes = internal global [7 x i8] c"abcdefg"
10 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" 8 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg"
11 9
12 @const_bytes = internal constant [7 x i8] c"abcdefg" 10 @const_bytes = internal constant [7 x i8] c"abcdefg"
13 ; CHECK-NEXT: @const_bytes = internal constant [7 x i8] c"abcdefg" 11 ; CHECK-NEXT: @const_bytes = internal constant [7 x i8] c"abcdefg"
14 12
15 @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32) 13 @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) 14 ; CHECK-NEXT: @ptr_to_ptr = internal global i32 ptrtoint (i32* @ptr to i32)
17 15
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 88
91 @short = internal constant [2 x i8] zeroinitializer 89 @short = internal constant [2 x i8] zeroinitializer
92 ; CHECK-NEXT: @short = internal constant [2 x i8] zeroinitializer 90 ; CHECK-NEXT: @short = internal constant [2 x i8] zeroinitializer
93 91
94 define void @func() { 92 define void @func() {
95 ret void 93 ret void
96 } 94 }
97 95
98 ; CHECK-NEXT: define void @func() { 96 ; CHECK-NEXT: define void @func() {
99 97
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/globalinit.pnacl.ll ('k') | tests_lit/reader_tests/unnamed.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698