llvm-6502/test/BugPoint/remove_arguments_test.ll
Reid Spencer 660c4f9fac Don't upgrade these.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35166 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-19 18:08:42 +00:00

12 lines
236 B
LLVM

; RUN: bugpoint %s -bugpoint-crashcalls
; 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
}