llvm.org GIT mirror llvm / release_22 test / BugPoint / remove_arguments_test.ll
release_22

Tree @release_22 (Download .tar.gz)

remove_arguments_test.ll @release_22raw · history · blame

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