1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Assembler/mdexpression.ll
Duncan P. N. Exon Smith e023c0f5eb AsmWriter/Bitcode: MDExpression
llvm-svn: 229023
2015-02-13 01:42:09 +00:00

17 lines
638 B
LLVM

; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s
; CHECK: !named = !{!0, !1, !2, !3, !4}
!named = !{!0, !1, !2, !3, !4}
; CHECK: !0 = !MDExpression()
; CHECK-NEXT: !1 = !MDExpression(DW_OP_deref)
; CHECK-NEXT: !2 = !MDExpression(DW_OP_plus, 3)
; CHECK-NEXT: !3 = !MDExpression(DW_OP_bit_piece, 3, 7)
; CHECK-NEXT: !4 = !MDExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7)
!0 = !MDExpression()
!1 = !MDExpression(DW_OP_deref)
!2 = !MDExpression(DW_OP_plus, 3)
!3 = !MDExpression(DW_OP_bit_piece, 3, 7)
!4 = !MDExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7)