aboutsummaryrefslogtreecommitdiffstats
path: root/test/BugPoint/remove_arguments_test.ll
blob: 4d2c60dc35c5551763a0f7eb65cd71b2dd11e422 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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
}