1 ; RUN: opt < %s -passes=debugify,tailcallelim -S | FileCheck %s
2 ; RUN: opt < %s -passes=debugify,tailcallelim -S --try-experimental-debuginfo-iterators | FileCheck %s
7 ; CHECK: br label %tailrecurse, !dbg ![[DbgLoc:[0-9]+]]
9 call void @foo() ;; line 1
12 ; CHECK-LABEL: tailrecurse:
13 ; CHECK: br label %tailrecurse, !dbg ![[DbgLoc]]
16 ;; Make sure tailrecurse has the call instruction's DL
17 ; CHECK: ![[DbgLoc]] = !DILocation(line: 1