[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll

Chris Lattner lattner at cs.uiuc.edu
Sun Nov 2 14:44:00 PST 2003


Changes in directory llvm/test/Regression/Analysis/DSGraph:

2003-11-02-NodeCollapsing.ll added (r1.1)

---
Log message:

New testcase for DSA which is improperly collapsed!


---
Diffs of the changes:  (+20 -0)

Index: llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
diff -c /dev/null llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll:1.1
*** /dev/null	Sun Nov  2 14:43:21 2003
--- llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll	Sun Nov  2 14:43:10 2003
***************
*** 0 ****
--- 1,20 ----
+ ; This is the same testcase as 2003-06-29-NodeCollapsing2.ll, but it uses the 
+ ; graph checker.
+ ;
+ ; RUN: analyze %s -datastructure-gc -dsgc-abort-if-any-collapsed
+ ;
+ 
+ %S = type { double, int }
+ %T = type { double, int, sbyte }
+ 
+ void %test() {
+ 	%A = alloca double*
+ 	%B = alloca %S
+ 	%C = alloca %T
+ 	%b = getelementptr %S* %B, long 0, ubyte 0
+ 	%c = getelementptr %T* %C, long 0, ubyte 0
+ 
+ 	store double* %b, double** %A
+ 	store double* %c, double** %A
+ 	ret void
+ }





More information about the llvm-commits mailing list