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