| OLD | NEW |
| 1 ; Tests if we handle global variables with relocation initializers. | 1 ; Tests if we handle global variables with relocation 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 @bytes = internal global [7 x i8] c"abcdefg" | 13 @bytes = internal global [7 x i8] c"abcdefg" |
| 12 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" | 14 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 @short = internal constant [2 x i8] zeroinitializer | 95 @short = internal constant [2 x i8] zeroinitializer |
| 94 ; CHECK-NEXT: @short = internal constant [2 x i8] zeroinitializer | 96 ; CHECK-NEXT: @short = internal constant [2 x i8] zeroinitializer |
| 95 | 97 |
| 96 define void @func() { | 98 define void @func() { |
| 97 ret void | 99 ret void |
| 98 } | 100 } |
| 99 | 101 |
| 100 ; CHECK-NEXT: define void @func() { | 102 ; CHECK-NEXT: define void @func() { |
| 101 | 103 |
| 102 ; NOIR: Total across all functions | 104 ; NOIR: Total across all functions |
| OLD | NEW |