[llvm-commits] CVS: llvm/test/Regression/Transforms/GlobalConstifier/deadglobal.llx basictest.llx phi-select.llx trivialstore.llx
Chris Lattner
lattner at cs.uiuc.edu
Wed Oct 6 21:07:21 PDT 2004
Changes in directory llvm/test/Regression/Transforms/GlobalConstifier:
deadglobal.llx added (r1.1)
basictest.llx updated: 1.1 -> 1.2
phi-select.llx updated: 1.1 -> 1.2
trivialstore.llx updated: 1.1 -> 1.2
---
Log message:
Add new testcase, rename pass
---
Diffs of the changes: (+11 -3)
Index: llvm/test/Regression/Transforms/GlobalConstifier/deadglobal.llx
diff -c /dev/null llvm/test/Regression/Transforms/GlobalConstifier/deadglobal.llx:1.1
*** /dev/null Wed Oct 6 23:07:18 2004
--- llvm/test/Regression/Transforms/GlobalConstifier/deadglobal.llx Wed Oct 6 23:07:08 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep internal
+
+ %G = internal global int 123
+
+ void %foo() {
+ store int 1, int* %G
+ ret void
+ }
Index: llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx
diff -u llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx:1.1 llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx:1.2
--- llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx:1.1 Sat Aug 14 15:44:09 2004
+++ llvm/test/Regression/Transforms/GlobalConstifier/basictest.llx Wed Oct 6 23:07:08 2004
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constify | llvm-dis | not grep global
+; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
%X = internal global int 4
Index: llvm/test/Regression/Transforms/GlobalConstifier/phi-select.llx
diff -u llvm/test/Regression/Transforms/GlobalConstifier/phi-select.llx:1.1 llvm/test/Regression/Transforms/GlobalConstifier/phi-select.llx:1.2
--- llvm/test/Regression/Transforms/GlobalConstifier/phi-select.llx:1.1 Sat Aug 14 15:47:56 2004
+++ llvm/test/Regression/Transforms/GlobalConstifier/phi-select.llx Wed Oct 6 23:07:08 2004
@@ -1,7 +1,7 @@
; Test that PHI nodes and select instructions do not necessarily make stuff
; non-constant.
-; RUN: llvm-as < %s | opt -constify | llvm-dis | not grep global
+; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
%X = internal global int 4
%Y = internal global int 5
Index: llvm/test/Regression/Transforms/GlobalConstifier/trivialstore.llx
diff -u llvm/test/Regression/Transforms/GlobalConstifier/trivialstore.llx:1.1 llvm/test/Regression/Transforms/GlobalConstifier/trivialstore.llx:1.2
--- llvm/test/Regression/Transforms/GlobalConstifier/trivialstore.llx:1.1 Wed Oct 6 15:42:51 2004
+++ llvm/test/Regression/Transforms/GlobalConstifier/trivialstore.llx Wed Oct 6 23:07:08 2004
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -constify | llvm-dis | not grep G
+; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep G
%G = internal global int 17
More information about the llvm-commits
mailing list