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

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

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in patch set 2, and add tests. 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
OLDNEW
1 ; Test of global initializers. 1 ; Test of global 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: %p2i -i %s --args -notranslate -timing -noIRgen \
7 ; RUN: | %if --need=allow_disable_ir_gen \
8 ; RUN: --command FileCheck --check-prefix=NOIR %s
6 9
7 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 10 @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 11 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
9 12
10 @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4 13 @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 14 ; CHECK-NEXT: @PrimitiveInitConst = internal constant [4 x i8] c"\0D\00\00\00", align 4
12 15
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 16 @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 17 ; 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 18
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { 70 define internal i32 @nacl_tp_tdb_offset(i32 %__0) {
68 entry: 71 entry:
69 ret i32 0 72 ret i32 0
70 } 73 }
71 74
72 define internal i32 @nacl_tp_tls_offset(i32 %size) { 75 define internal i32 @nacl_tp_tls_offset(i32 %size) {
73 entry: 76 entry:
74 %result = sub i32 0, %size 77 %result = sub i32 0, %size
75 ret i32 %result 78 ret i32 %result
76 } 79 }
80
81 ; NOIR: Total across all functions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698