OLD | NEW |
1 ; Test of global initializers. | 1 ; Test of global initializers. |
2 | 2 |
3 ; REQUIRES: allow_dump | |
4 | |
5 ; RUN: %p2i -i %s --insts | FileCheck %s | 3 ; RUN: %p2i -i %s --insts | FileCheck %s |
6 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s | 4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s |
7 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s | 5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s |
8 ; RUN: %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: %if --need=allow_disable_ir_gen --command \ |
9 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
10 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
11 ; RUN: FileCheck --check-prefix=NOIR %s | 9 ; RUN: FileCheck --check-prefix=NOIR %s |
12 | 10 |
13 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 | 11 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 |
14 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 | 12 ; CHECK: @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 ret i32 0 | 73 ret i32 0 |
76 } | 74 } |
77 | 75 |
78 define internal i32 @nacl_tp_tls_offset(i32 %size) { | 76 define internal i32 @nacl_tp_tls_offset(i32 %size) { |
79 entry: | 77 entry: |
80 %result = sub i32 0, %size | 78 %result = sub i32 0, %size |
81 ret i32 %result | 79 ret i32 %result |
82 } | 80 } |
83 | 81 |
84 ; NOIR: Total across all functions | 82 ; NOIR: Total across all functions |
OLD | NEW |