[llvm-commits] CVS: llvm/test/Regression/Transforms/SCCP/2002-05-02-EdgeFailure.ll 2002-05-02-MissSecondInst.ll 2002-05-20-MissedIncomingValue.ll 2002-05-21-InvalidSimplify.ll 2002-08-30-GetElementPtrTest.ll 2003-06-24-OverdefinedPHIValue.ll 2003-08-26-InvokeHandling.ll 2004-11-16-DeadInvoke.ll 2004-12-10-UndefBranchBug.ll 2006-10-23-IPSCCP-Crash.ll basictest.ll calltest.ll ipsccp-basic.ll ipsccp-conditional.ll ipsccp-gvar.ll loadtest.ll logical-nuke.ll phitest.ll sccptest.ll select.ll
Reid Spencer
reid at x10sys.com
Fri Dec 1 20:25:13 PST 2006
Changes in directory llvm/test/Regression/Transforms/SCCP:
2002-05-02-EdgeFailure.ll updated: 1.3 -> 1.4
2002-05-02-MissSecondInst.ll updated: 1.3 -> 1.4
2002-05-20-MissedIncomingValue.ll updated: 1.2 -> 1.3
2002-05-21-InvalidSimplify.ll updated: 1.2 -> 1.3
2002-08-30-GetElementPtrTest.ll updated: 1.3 -> 1.4
2003-06-24-OverdefinedPHIValue.ll updated: 1.3 -> 1.4
2003-08-26-InvokeHandling.ll updated: 1.2 -> 1.3
2004-11-16-DeadInvoke.ll updated: 1.1 -> 1.2
2004-12-10-UndefBranchBug.ll updated: 1.1 -> 1.2
2006-10-23-IPSCCP-Crash.ll updated: 1.1 -> 1.2
basictest.ll updated: 1.3 -> 1.4
calltest.ll updated: 1.1 -> 1.2
ipsccp-basic.ll updated: 1.2 -> 1.3
ipsccp-conditional.ll updated: 1.2 -> 1.3
ipsccp-gvar.ll updated: 1.1 -> 1.2
loadtest.ll updated: 1.2 -> 1.3
logical-nuke.ll updated: 1.1 -> 1.2
phitest.ll updated: 1.1 -> 1.2
sccptest.ll updated: 1.6 -> 1.7
select.ll updated: 1.1 -> 1.2
---
Log message:
Use the llvm-upgrade program to upgrade llvm assembly.
---
Diffs of the changes: (+21 -21)
2002-05-02-EdgeFailure.ll | 2 +-
2002-05-02-MissSecondInst.ll | 2 +-
2002-05-20-MissedIncomingValue.ll | 2 +-
2002-05-21-InvalidSimplify.ll | 2 +-
2002-08-30-GetElementPtrTest.ll | 2 +-
2003-06-24-OverdefinedPHIValue.ll | 2 +-
2003-08-26-InvokeHandling.ll | 2 +-
2004-11-16-DeadInvoke.ll | 2 +-
2004-12-10-UndefBranchBug.ll | 2 +-
2006-10-23-IPSCCP-Crash.ll | 2 +-
basictest.ll | 2 +-
calltest.ll | 2 +-
ipsccp-basic.ll | 2 +-
ipsccp-conditional.ll | 2 +-
ipsccp-gvar.ll | 2 +-
loadtest.ll | 2 +-
logical-nuke.ll | 2 +-
phitest.ll | 2 +-
sccptest.ll | 2 +-
select.ll | 4 ++--
20 files changed, 21 insertions(+), 21 deletions(-)
Index: llvm/test/Regression/Transforms/SCCP/2002-05-02-EdgeFailure.ll
diff -u llvm/test/Regression/Transforms/SCCP/2002-05-02-EdgeFailure.ll:1.3 llvm/test/Regression/Transforms/SCCP/2002-05-02-EdgeFailure.ll:1.4
--- llvm/test/Regression/Transforms/SCCP/2002-05-02-EdgeFailure.ll:1.3 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2002-05-02-EdgeFailure.ll Fri Dec 1 22:23:10 2006
@@ -5,7 +5,7 @@
; real benchmark (mst from Olden benchmark, MakeGraph function). When SCCP is
; fixed, this should be eliminated by a single SCCP application.
;
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep loop
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep loop
int* %test() {
bb1:
Index: llvm/test/Regression/Transforms/SCCP/2002-05-02-MissSecondInst.ll
diff -u llvm/test/Regression/Transforms/SCCP/2002-05-02-MissSecondInst.ll:1.3 llvm/test/Regression/Transforms/SCCP/2002-05-02-MissSecondInst.ll:1.4
--- llvm/test/Regression/Transforms/SCCP/2002-05-02-MissSecondInst.ll:1.3 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2002-05-02-MissSecondInst.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep sub
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep sub
void %test3(int, int) {
add int 0, 0
Index: llvm/test/Regression/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll
diff -u llvm/test/Regression/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll:1.2 llvm/test/Regression/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll:1.3
--- llvm/test/Regression/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll:1.2 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; This test shows a case where SCCP is incorrectly eliminating the PHI node
; because it thinks it has a constant 0 value, when it really doesn't.
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep phi
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | grep phi
int "test"(int %A, bool %c) {
bb1:
Index: llvm/test/Regression/Transforms/SCCP/2002-05-21-InvalidSimplify.ll
diff -u llvm/test/Regression/Transforms/SCCP/2002-05-21-InvalidSimplify.ll:1.2 llvm/test/Regression/Transforms/SCCP/2002-05-21-InvalidSimplify.ll:1.3
--- llvm/test/Regression/Transforms/SCCP/2002-05-21-InvalidSimplify.ll:1.2 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2002-05-21-InvalidSimplify.ll Fri Dec 1 22:23:10 2006
@@ -2,7 +2,7 @@
; this is in fact NOT the case, so the return should still be alive in the code
; after sccp and CFG simplification have been performed.
;
-; RUN: llvm-as < %s | opt -sccp -simplifycfg | llvm-dis | grep ret
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -simplifycfg | llvm-dis | grep ret
void "old_main"() {
Index: llvm/test/Regression/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
diff -u llvm/test/Regression/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll:1.3 llvm/test/Regression/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll:1.4
--- llvm/test/Regression/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll:1.3 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep '%X'
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep '%X'
%G = uninitialized global [40x int]
Index: llvm/test/Regression/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll
diff -u llvm/test/Regression/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll:1.3 llvm/test/Regression/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll:1.4
--- llvm/test/Regression/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll:1.3 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -simplifycfg | llvm-dis | not grep then:
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -simplifycfg | llvm-dis | not grep then:
void %cprop_test11(int* %data.1) {
entry: ; No predecessors!
Index: llvm/test/Regression/Transforms/SCCP/2003-08-26-InvokeHandling.ll
diff -u llvm/test/Regression/Transforms/SCCP/2003-08-26-InvokeHandling.ll:1.2 llvm/test/Regression/Transforms/SCCP/2003-08-26-InvokeHandling.ll:1.3
--- llvm/test/Regression/Transforms/SCCP/2003-08-26-InvokeHandling.ll:1.2 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/2003-08-26-InvokeHandling.ll Fri Dec 1 22:23:10 2006
@@ -1,5 +1,5 @@
; The PHI cannot be eliminated from this testcase, SCCP is mishandling invoke's!
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep phi
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | grep phi
declare void %foo()
int %test(bool %cond) {
Index: llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll
diff -u llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll:1.1 llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll:1.1 Tue Nov 16 10:39:20 2004
+++ llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -disable-output
implementation
Index: llvm/test/Regression/Transforms/SCCP/2004-12-10-UndefBranchBug.ll
diff -u llvm/test/Regression/Transforms/SCCP/2004-12-10-UndefBranchBug.ll:1.1 llvm/test/Regression/Transforms/SCCP/2004-12-10-UndefBranchBug.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/2004-12-10-UndefBranchBug.ll:1.1 Fri Dec 10 14:10:23 2004
+++ llvm/test/Regression/Transforms/SCCP/2004-12-10-UndefBranchBug.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep 'ret int 1'
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | grep 'ret int 1'
; This function definitely returns 1, even if we don't know the direction
; of the branch.
Index: llvm/test/Regression/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll
diff -u llvm/test/Regression/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll:1.1 llvm/test/Regression/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll:1.1 Mon Oct 23 13:54:35 2006
+++ llvm/test/Regression/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -disable-output
target endian = big
target pointersize = 32
Index: llvm/test/Regression/Transforms/SCCP/basictest.ll
diff -u llvm/test/Regression/Transforms/SCCP/basictest.ll:1.3 llvm/test/Regression/Transforms/SCCP/basictest.ll:1.4
--- llvm/test/Regression/Transforms/SCCP/basictest.ll:1.3 Tue Sep 16 10:29:49 2003
+++ llvm/test/Regression/Transforms/SCCP/basictest.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; This is a basic sanity check for constant propogation. The add instruction
; should be eliminated.
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep add
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep add
int %test(bool %B) {
br bool %B, label %BB1, label %BB2
Index: llvm/test/Regression/Transforms/SCCP/calltest.ll
diff -u llvm/test/Regression/Transforms/SCCP/calltest.ll:1.1 llvm/test/Regression/Transforms/SCCP/calltest.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/calltest.ll:1.1 Tue Apr 13 14:43:33 2004
+++ llvm/test/Regression/Transforms/SCCP/calltest.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -adce -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -adce -simplifycfg | llvm-dis | not grep br
; No matter how hard you try, sqrt(1.0) is always 1.0. This allows the
; optimizer to delete this loop.
Index: llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll
diff -u llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll:1.2 llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll:1.3
--- llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll:1.2 Sat Dec 11 11:13:19 2004
+++ llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v 'ret int 17' | grep -v 'ret int undef' | not grep ret
+; RUN: llvm-upgrade < %s | llvm-as | opt -ipsccp | llvm-dis | grep -v 'ret int 17' | grep -v 'ret int undef' | not grep ret
implementation
Index: llvm/test/Regression/Transforms/SCCP/ipsccp-conditional.ll
diff -u llvm/test/Regression/Transforms/SCCP/ipsccp-conditional.ll:1.2 llvm/test/Regression/Transforms/SCCP/ipsccp-conditional.ll:1.3
--- llvm/test/Regression/Transforms/SCCP/ipsccp-conditional.ll:1.2 Mon Dec 13 11:53:11 2004
+++ llvm/test/Regression/Transforms/SCCP/ipsccp-conditional.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v 'ret int 0' | grep -v 'ret int undef' | not grep ret
+; RUN: llvm-upgrade < %s | llvm-as | opt -ipsccp | llvm-dis | grep -v 'ret int 0' | grep -v 'ret int undef' | not grep ret
implementation
Index: llvm/test/Regression/Transforms/SCCP/ipsccp-gvar.ll
diff -u llvm/test/Regression/Transforms/SCCP/ipsccp-gvar.ll:1.1 llvm/test/Regression/Transforms/SCCP/ipsccp-gvar.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/ipsccp-gvar.ll:1.1 Fri Dec 10 23:14:55 2004
+++ llvm/test/Regression/Transforms/SCCP/ipsccp-gvar.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | not grep global
+; RUN: llvm-upgrade < %s | llvm-as | opt -ipsccp | llvm-dis | not grep global
%G = internal global int undef
Index: llvm/test/Regression/Transforms/SCCP/loadtest.ll
diff -u llvm/test/Regression/Transforms/SCCP/loadtest.ll:1.2 llvm/test/Regression/Transforms/SCCP/loadtest.ll:1.3
--- llvm/test/Regression/Transforms/SCCP/loadtest.ll:1.2 Thu Nov 23 09:14:52 2006
+++ llvm/test/Regression/Transforms/SCCP/loadtest.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; This test makes sure that these instructions are properly constant propagated.
;
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep load
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep load
%X = constant int 42
%Y = constant [2 x { int, float }] [ { int, float } { int 12, float 1.0 },
Index: llvm/test/Regression/Transforms/SCCP/logical-nuke.ll
diff -u llvm/test/Regression/Transforms/SCCP/logical-nuke.ll:1.1 llvm/test/Regression/Transforms/SCCP/logical-nuke.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/logical-nuke.ll:1.1 Sat Dec 11 17:14:40 2004
+++ llvm/test/Regression/Transforms/SCCP/logical-nuke.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep 'ret int 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | grep 'ret int 0'
; Test that SCCP has basic knowledge of when and/or nuke overdefined values.
Index: llvm/test/Regression/Transforms/SCCP/phitest.ll
diff -u llvm/test/Regression/Transforms/SCCP/phitest.ll:1.1 llvm/test/Regression/Transforms/SCCP/phitest.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/phitest.ll:1.1 Sun Jan 11 21:57:00 2004
+++ llvm/test/Regression/Transforms/SCCP/phitest.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -sccp -dce -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -dce -simplifycfg | llvm-dis | not grep br
int %test(int %param) {
entry:
Index: llvm/test/Regression/Transforms/SCCP/sccptest.ll
diff -u llvm/test/Regression/Transforms/SCCP/sccptest.ll:1.6 llvm/test/Regression/Transforms/SCCP/sccptest.ll:1.7
--- llvm/test/Regression/Transforms/SCCP/sccptest.ll:1.6 Fri May 13 10:51:31 2005
+++ llvm/test/Regression/Transforms/SCCP/sccptest.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; This is the test case taken from appel's book that illustrates a hard case
; that SCCP gets right. BB3 should be completely eliminated.
;
-; RUN: llvm-as < %s | opt -sccp -constprop -dce -cfgsimplify | llvm-dis | not grep BB3
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -constprop -dce -cfgsimplify | llvm-dis | not grep BB3
int %testfunction(int %i0, int %j0) {
BB1:
Index: llvm/test/Regression/Transforms/SCCP/select.ll
diff -u llvm/test/Regression/Transforms/SCCP/select.ll:1.1 llvm/test/Regression/Transforms/SCCP/select.ll:1.2
--- llvm/test/Regression/Transforms/SCCP/select.ll:1.1 Tue Feb 7 20:37:40 2006
+++ llvm/test/Regression/Transforms/SCCP/select.ll Fri Dec 1 22:23:10 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -sccp -disable-output &&
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep select
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -sccp | llvm-dis | not grep select
int %test1(bool %C) {
%X = select bool %C, int 0, int 0
More information about the llvm-commits
mailing list