| 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 ; Test that we handle it in the ICE converter. | 5 ; Test that we handle it in the ICE converter. |
| 4 ; RUN: %lc2i -i %s --args -verbose inst | %iflc FileCheck %s | 6 ; RUN: %lc2i -i %s --args -verbose inst | %iflc FileCheck %s |
| 5 | 7 |
| 6 ; Test that we handle it using Subzero's bitcode reader. | 8 ; Test that we handle it using Subzero's bitcode reader. |
| 7 ; RUN: %p2i -i %s --args -verbose inst | FileCheck %s | 9 ; RUN: %p2i -i %s --args -verbose inst | FileCheck %s |
| 8 | 10 |
| 9 @bytes = internal global [7 x i8] c"abcdefg" | 11 @bytes = internal global [7 x i8] c"abcdefg" |
| 10 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" | 12 ; CHECK: @bytes = internal global [7 x i8] c"abcdefg" |
| 11 ; CHECK: .type bytes,@object | 13 ; CHECK: .type bytes,@object |
| 12 ; CHECK: .section .data,"aw",@progbits | 14 ; CHECK: .section .data,"aw",@progbits |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 ; CHECK:short: | 251 ; CHECK:short: |
| 250 ; CHECK: .zero 2 | 252 ; CHECK: .zero 2 |
| 251 ; CHECK: .size short, 2 | 253 ; CHECK: .size short, 2 |
| 252 | 254 |
| 253 define void @func() { | 255 define void @func() { |
| 254 ret void | 256 ret void |
| 255 } | 257 } |
| 256 | 258 |
| 257 ; CHECK: define void @func() { | 259 ; CHECK: define void @func() { |
| 258 | 260 |
| OLD | NEW |