1 ; RUN: opt -debugify -dce -S < %s | FileCheck %s
2 ; RUN: opt -passes='module(debugify),function(dce)' -S < %s | FileCheck %s
7 ; CHECK-NEXT: call void @llvm.dbg.value(metadata i32 1, metadata [[add:![0-9]+]], metadata !DIExpression(DW_OP_plus_uconst, 2, DW_OP_stack_value))
9 ; CHECK-NEXT: call void @llvm.dbg.value(metadata i32 1, metadata [[sub:![0-9]+]], metadata !DIExpression(DW_OP_plus_uconst, 2, DW_OP_constu, 1, DW_OP_minus, DW_OP_stack_value))
10 ; CHECK-NEXT: ret void
14 ; CHECK: [[add]] = !DILocalVariable
15 ; CHECK: [[sub]] = !DILocalVariable