Reid Spencer | 73e7082 | 2006-12-29 20:01:32 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s > %t1.ll |
2 | ; RUN: bugpoint %t1.ll -bugpoint-crashcalls | ||||
Chris Lattner | 484147d | 2003-06-24 23:40:27 +0000 | [diff] [blame] | 3 | |
4 | ; Test to make sure that arguments are removed from the function if they are unnecessary. | ||||
5 | |||||
6 | declare int %test2() | ||||
7 | int %test(int %A, int %B, float %C) { | ||||
8 | call int %test2() | ||||
9 | ret int %0 | ||||
10 | } |