Daniel Dunbar | 7201b61 | 2009-09-07 19:26:18 +0000 | [diff] [blame] | 1 | ; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 2 | |
3 | ; Test to make sure that arguments are removed from the function if they are | ||||
4 | ; unnecessary. | ||||
5 | |||||
6 | declare i32 @test2() | ||||
7 | |||||
8 | define i32 @test(i32 %A, i32 %B, float %C) { | ||||
9 | call i32 @test2() | ||||
10 | ret i32 %1 | ||||
11 | } |