[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 23 17:03:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2003-07-23-CPR-Reference.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll
diff -c /dev/null llvm/test/Regression/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll:1.1
*** /dev/null Wed Jul 23 17:02:49 2003
--- llvm/test/Regression/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll Wed Jul 23 17:02:39 2003
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: as < %s | opt -funcresolve | dis | not grep foo
+
+ ; The funcresolve pass was resolving the two foo's together in this test,
+ ; adding a ConstantPointerRef to one of them. Then because of this
+ ; reference, it wasn't able to delete the dead declaration. :(
+
+ declare int %foo(...)
+ declare int %foo(int)
+
+
More information about the llvm-commits
mailing list