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

Side by Side Diff: tests_lit/reader_tests/globalinit.pnacl.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/extern_globals.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 ; Check that we generate proper global initializers.
4 ; RUN: %l2i -i %s --insts | FileCheck %s
5 ; 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
6 6
7 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 7 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
8 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 8 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
9 9
10 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 10 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
11 ; CHECK-NEXT: @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 11 ; CHECK-NEXT: @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
12 12
13 @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 13 @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
14 ; 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 14 ; 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
15 15
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ret i32 0 69 ret i32 0
70 } 70 }
71 71
72 define internal i32 @nacl_tp_tls_offset(i32 %size) { 72 define internal i32 @nacl_tp_tls_offset(i32 %size) {
73 entry: 73 entry:
74 %result = sub i32 0, %size 74 %result = sub i32 0, %size
75 ret i32 %result 75 ret i32 %result
76 } 76 }
77 77
78 ; ERRORS-NOT: ICE translation error 78 ; ERRORS-NOT: ICE translation error
OLDNEW
« no previous file with comments | « tests_lit/reader_tests/extern_globals.ll ('k') | tests_lit/reader_tests/globalrelocs.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698