aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/mdsubrange-empty-array.ll
blob: fa05582a9a9d62ed3a59db908f999baea4ea89a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s

; CHECK: !named = !{!0, !0, !1, !2}
!named = !{!0, !1, !2, !3}

; CHECK:      !0 = !MDSubrange(count: -1)
; CHECK-NEXT: !1 = !MDSubrange(count: -1, lowerBound: 4)
; CHECK-NEXT: !2 = !MDSubrange(count: -1, lowerBound: -5)
!0 = !MDSubrange(count: -1)
!1 = !MDSubrange(count: -1, lowerBound: 0)

!2 = !MDSubrange(count: -1, lowerBound: 4)
!3 = !MDSubrange(count: -1, lowerBound: -5)