1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/BugPoint/remove_arguments_test.ll

11 lines
263 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s > %t1.ll
; RUN: bugpoint %t1.ll -bugpoint-crashcalls
2003-06-25 01:40:27 +02:00
; 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
}