[llvm-commits] CVS: llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx

Chris Lattner lattner at cs.uiuc.edu
Sat Aug 14 13:44:21 PDT 2004



Changes in directory llvm/test/Regression/Transforms/GlobalConstifier:

basictest.llx added (r1.1)
---
Log message:

New basic testcase for the constifier


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

Index: llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx
diff -c /dev/null llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx:1.1
*** /dev/null	Sat Aug 14 15:44:19 2004
--- llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx	Sat Aug 14 15:44:09 2004
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -constify | llvm-dis | not grep global
+ 
+ %X = internal global int 4
+ 
+ 
+ int %foo() {
+ 	%V = load int* %X
+ 	ret int %V
+ }






More information about the llvm-commits mailing list