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 | %ifp FileCheck %s |
jvoung (off chromium)
2014/10/15 21:57:06
See earlier question -- should p2i always work (vs
Karl
2014/10/16 16:51:48
See comments at the beginning of lit.cfg. I clarif
| |
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 |
15 ; CHECK: .byte 98 | 15 ; CHECK: .byte 98 |
16 ; CHECK: .byte 99 | 16 ; CHECK: .byte 99 |
17 ; CHECK: .byte 100 | 17 ; CHECK: .byte 100 |
(...skipping 231 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 |