llvm-project/llvm/test/BugPoint/remove_arguments_test.ll

12 lines
269 B
LLVM
Raw Normal View History

; 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
}