[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/constantize.ll

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 28 16:57:12 PDT 2003


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

constantize.ll added (r1.1)

---
Log message:

New testcase


---
Diffs of the changes:

Index: llvm/test/Regression/Analysis/DSGraph/constantize.ll
diff -c /dev/null llvm/test/Regression/Analysis/DSGraph/constantize.ll:1.1
*** /dev/null	Sat Jun 28 16:56:32 2003
--- llvm/test/Regression/Analysis/DSGraph/constantize.ll	Sat Jun 28 16:56:22 2003
***************
*** 0 ****
--- 1,13 ----
+ ; Make sure that the ds-opt pass is constantizing globals
+ ;
+ ; RUN: as < %s | opt -ds-opt | dis | grep %G | grep constant
+ 
+ 
+ %G = internal global int 0		; <int*> [#uses=2]
+ 
+ implementation   ; Functions:
+ 
+ int %main() {
+ 	%A = load int* %G
+ 	ret int %A
+ }





More information about the llvm-commits mailing list