mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
598198edbc
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358552 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
412 B
LLVM
17 lines
412 B
LLVM
; RUN: opt < %s -debugify -tailcallelim -S | FileCheck %s
|
|
|
|
define void @foo() {
|
|
entry:
|
|
; CHECK-LABEL: entry:
|
|
; CHECK: br label %tailrecurse, !dbg ![[DbgLoc:[0-9]+]]
|
|
|
|
call void @foo() ;; line 1
|
|
ret void
|
|
|
|
; CHECK-LABEL: tailrecurse:
|
|
; CHECK: br label %tailrecurse, !dbg ![[DbgLoc]]
|
|
}
|
|
|
|
;; Make sure tailrecurse has the call instruction's DL
|
|
; CHECK: ![[DbgLoc]] = !DILocation(line: 1
|