aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/PR4909.ll
blob: 48b2526f2b18e6a06df4328c69bda4106b86c6c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llvm-as < %s | opt -partial-inliner -disable-output

define i32 @f() {
entry:
  br label %return

return:                                           ; preds = %entry
  ret i32 undef
}

define i32 @g() {
entry:
  %0 = call i32 @f()
  ret i32 %0
}