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

Tree @release_1 (Download .tar.gz)

remove_arguments_test.ll @release_1raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: bugpoint %s  -bugpoint-crashcalls

; Test to make sure that arguments are removed from the function if they are unnecessary.

declare int %test2()
int %test(int %A, int %B, float %C) {
	call int %test2()
	ret int %0
}