llvm-6502/test/BugPoint/remove_arguments_test.ll
Evan Cheng 802cd84eb4 Re-commit r67334 and r67349 with fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67451 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-21 18:12:24 +00:00

12 lines
251 B
LLVM

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