[llvm-commits] CVS: llvm/test/Regression/BugPoint/remove_arguments_test.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 24 18:41:00 PDT 2003


Changes in directory llvm/test/Regression/BugPoint:

remove_arguments_test.ll added (r1.1)

---
Log message:

New testcase


---
Diffs of the changes:

Index: llvm/test/Regression/BugPoint/remove_arguments_test.ll
diff -c /dev/null llvm/test/Regression/BugPoint/remove_arguments_test.ll:1.1
*** /dev/null	Tue Jun 24 18:40:37 2003
--- llvm/test/Regression/BugPoint/remove_arguments_test.ll	Tue Jun 24 18:40:27 2003
***************
*** 0 ****
--- 1,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
+ }





More information about the llvm-commits mailing list