2008-09-03 00:16:13 +02:00
|
|
|
; RUN: llvm-as < %s | opt -inline-threshold=0 -inline | llvm-dis | not grep call
|
|
|
|
|
2008-09-27 01:51:19 +02:00
|
|
|
define i32 @fn2() alwaysinline {
|
2008-09-03 00:16:13 +02:00
|
|
|
ret i32 1
|
|
|
|
}
|
|
|
|
|
|
|
|
define i32 @fn3() {
|
|
|
|
%r = call i32 @fn2()
|
|
|
|
ret i32 %r
|
|
|
|
}
|