Implement function notes as function attributes.
[oota-llvm.git] / test / Transforms / Inline / 2008-09-02-AlwaysInline.ll
1 ; RUN: llvm-as < %s | opt  -inline-threshold=0 -inline | llvm-dis | not grep call 
2
3 define i32 @fn2() alwaysinline {
4   ret i32 1
5 }
6
7 define i32 @fn3() {
8    %r = call i32 @fn2()
9    ret i32 %r
10 }