[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 22 14:07:31 PST 2005
Changes in directory llvm/test/Regression/Analysis/DSGraph:
2005-03-22-IncompleteGlobal.ll added (r1.1)
---
Log message:
New testcase, the BU pass is marking the global complete in the globals graph.
---
Diffs of the changes: (+12 -0)
2005-03-22-IncompleteGlobal.ll | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
diff -c /dev/null llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll:1.1
*** /dev/null Tue Mar 22 16:07:25 2005
--- llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll Tue Mar 22 16:07:15 2005
***************
*** 0 ****
--- 1,12 ----
+ ; RUN: analyze %s -datastructure-gc -dsgc-check-flags=G:GIM -dsgc-dspass=bu
+
+
+ %S = type { double, int }
+
+ %G = external global %S
+
+ void %main() {
+ %b = getelementptr %S* %G, long 0, ubyte 0
+ store double 0.1, double* %b
+ ret void
+ }
More information about the llvm-commits
mailing list