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