1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/BugPoint/remove_arguments_test.ll
2009-09-07 19:26:18 +00:00

12 lines
269 B
LLVM

; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes
; Test to make sure that arguments are removed from the function if they are
; unnecessary.
declare i32 @test2()
define i32 @test(i32 %A, i32 %B, float %C) {
call i32 @test2()
ret i32 %1
}