blob: 33c8949afe05077afdad972d216d21c29862f9d1 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -inline -S | grep call | count 1
Devang Patela697ae92008-09-02 22:16:13 +00002
Devang Patel008cd3e2008-09-26 23:51:19 +00003define i32 @fn2() noinline {
Devang Patela697ae92008-09-02 22:16:13 +00004 ret i32 1
5}
6
7define i32 @fn3() {
8 %r = call i32 @fn2()
9 ret i32 %r
10}