aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/PR4909.ll
blob: 24545f9aa8833afa232fbf2a8327a1ad5eaa1883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: opt < %s -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
}