[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Jun 30 10:18:01 PDT 2003
Changes in directory llvm/test/Regression/Analysis/DSGraph:
2003-06-30-TopDownResolve.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll
diff -c /dev/null llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll:1.1
*** /dev/null Mon Jun 30 10:17:49 2003
--- llvm/test/Regression/Analysis/DSGraph/2003-06-30-TopDownResolve.ll Mon Jun 30 10:17:39 2003
***************
*** 0 ****
--- 1,20 ----
+ ; RUN: analyze %s -datastructure-gc -dsgc-dspass=td -dsgc-abort-if-incomplete=X
+
+ %G = internal global int 5
+
+ implementation
+
+ internal void %leaf(int *%X) {
+ store int 0, int* %X
+ ret void
+ }
+
+ internal void %intermediate(void(int*)* %Fn, int* %Ptr) {
+ call void %Fn(int* %Ptr)
+ ret void
+ }
+
+ int %main() {
+ call void %intermediate(void(int*)* %leaf, int* %G)
+ ret int 0
+ }
More information about the llvm-commits
mailing list