2009-09-08 03:26:18 +08:00
|
|
|
; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes
|
2003-06-25 07:40:27 +08:00
|
|
|
|
2007-03-20 02:08:42 +08:00
|
|
|
; Test to make sure that arguments are removed from the function if they are
|
|
|
|
; unnecessary.
|
2003-06-25 07:40:27 +08:00
|
|
|
|
2007-03-20 02:08:42 +08:00
|
|
|
declare i32 @test2()
|
|
|
|
|
|
|
|
define i32 @test(i32 %A, i32 %B, float %C) {
|
|
|
|
call i32 @test2()
|
|
|
|
ret i32 %1
|
2003-06-25 07:40:27 +08:00
|
|
|
}
|