Benjamin Kramer | c6e8bfc | 2015-06-17 23:55:17 +0000 | [diff] [blame] | 1 | ; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s |
| 2 | |
| 3 | @test1 = global [2 x i24] [i24 -1, i24 -1] |
| 4 | ; CHECK-LABEL: test1: |
| 5 | ; CHECK-NEXT: .long 16777215 |
| 6 | ; CHECK-NEXT: .long 16777215 |
| 7 | |
| 8 | @test2 = global [2 x i7] [i7 1, i7 1] |
| 9 | ; CHECK-LABEL: test2: |
| 10 | ; CHECK-NEXT: .space 2,1 |
| 11 | |
| 12 | @test3 = global [4 x i128] [i128 -1, i128 -1, i128 -1, i128 -1] |
| 13 | ; CHECK-LABEL: test3: |
| 14 | ; CHECK-NEXT: .space 64,255 |
| 15 | |
| 16 | @test4 = global [3 x i16] [i16 257, i16 257, i16 257] |
| 17 | ; CHECK-LABEL: test4: |
| 18 | ; CHECK-NEXT: .space 6,1 |
| 19 | |
| 20 | @test5 = global [2 x [2 x i16]] [[2 x i16] [i16 257, i16 257], [2 x i16] [i16 -1, i16 -1]] |
| 21 | ; CHECK-LABEL: test5: |
| 22 | ; CHECK-NEXT: .space 4,1 |
| 23 | ; CHECK-NEXT: .space 4,255 |
| 24 | |
| 25 | @test6 = global [2 x [2 x i16]] [[2 x i16] [i16 257, i16 257], [2 x i16] [i16 257, i16 257]] |
| 26 | ; CHECK-LABEL: test6: |
| 27 | ; CHECK-NEXT: .space 8,1 |