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 | 3 ; REQUIRES: allow_dump |
4 | 4 |
5 ; Test that we handle it in the ICE converter. | 5 ; Test that we handle it in the ICE converter. |
6 ; RUN: %lc2i -i %s --args -verbose inst -threads=0 \ | 6 ; RUN: %lc2i -i %s --args -verbose inst -threads=0 \ |
7 ; RUN: | %iflc FileCheck %s | 7 ; RUN: | %iflc FileCheck %s |
8 ; RUN: %lc2i -i %s --args -verbose inst -threads=0 \ | 8 ; RUN: %lc2i -i %s --args -verbose inst -threads=0 \ |
9 ; RUN: | %iflc FileCheck --check-prefix=DUMP %s | 9 ; RUN: | %iflc FileCheck --check-prefix=DUMP %s |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 ; CHECK: .section .rodata,"a",%progbits | 256 ; CHECK: .section .rodata,"a",%progbits |
257 ; CHECK:short: | 257 ; CHECK:short: |
258 ; CHECK: .zero 2 | 258 ; CHECK: .zero 2 |
259 ; CHECK: .size short, 2 | 259 ; CHECK: .size short, 2 |
260 | 260 |
261 define internal void @func() { | 261 define internal void @func() { |
262 ret void | 262 ret void |
263 } | 263 } |
264 | 264 |
265 ; DUMP: define internal void @func() { | 265 ; DUMP: define internal void @func() { |
266 | |
OLD | NEW |