[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / Assembler / diexpression.ll
blob93674acd3e71581287439386c9b16fa887c04011
1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 ; CHECK: !named = !{
5 ; CHECK-SAME: !DIExpression(),
6 ; CHECK-SAME: !DIExpression(DW_OP_deref),
7 ; CHECK-SAME: !DIExpression(DW_OP_constu, 3, DW_OP_plus),
8 ; CHECK-SAME: !DIExpression(DW_OP_LLVM_fragment, 3, 7),
9 ; CHECK-SAME: !DIExpression(DW_OP_deref, DW_OP_plus_uconst, 3, DW_OP_LLVM_fragment, 3, 7),
10 ; CHECK-SAME: !DIExpression(DW_OP_constu, 2, DW_OP_swap, DW_OP_xderef),
11 ; CHECK-SAME: !DIExpression(DW_OP_plus_uconst, 3)
12 ; CHECK-SAME: !DIExpression(DW_OP_LLVM_convert, 16, DW_ATE_unsigned, DW_OP_LLVM_convert, 32, DW_ATE_signed)
13 ; CHECK-SAME: !DIExpression(DW_OP_LLVM_tag_offset, 1)}
15 !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8}
17 !0 = !DIExpression()
18 !1 = !DIExpression(DW_OP_deref)
19 !2 = !DIExpression(DW_OP_constu, 3, DW_OP_plus)
20 !3 = !DIExpression(DW_OP_LLVM_fragment, 3, 7)
21 !4 = !DIExpression(DW_OP_deref, DW_OP_plus_uconst, 3, DW_OP_LLVM_fragment, 3, 7)
22 !5 = !DIExpression(DW_OP_constu, 2, DW_OP_swap, DW_OP_xderef)
23 !6 = !DIExpression(DW_OP_plus_uconst, 3)
24 !7 = !DIExpression(DW_OP_LLVM_convert, 16, DW_ATE_unsigned, DW_OP_LLVM_convert, 32, DW_ATE_signed)
25 !8 = !DIExpression(DW_OP_LLVM_tag_offset, 1)