llvm-mirror/test/Transforms/Inline/PR4909.ll
Eric Christopher a62270de2c Revert "Temporarily Revert "Add basic loop fusion pass.""
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
2019-04-17 04:52:47 +00:00

17 lines
298 B
LLVM

; RUN: opt < %s -partial-inliner -disable-output
; RUN: opt < %s -passes=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
}