[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll 2002-05-21-PHIElimination.ll 2002-06-24-PHINode.ll 2002-09-24-PHIAssertion.ll 2003-03-07-DominateProblem.ll 2003-08-05-InvokeCrash.ll 2003-08-05-MishandleInvoke.ll 2003-08-17-BranchFold.ll 2003-08-17-BranchFoldOrdering.ll 2003-08-17-FoldSwitch.ll 2004-12-10-SimplifyCFGCrash.ll 2005-06-16-PHICrash.ll 2005-08-01-PHIUpdateFail.ll 2005-08-03-PHIFactorCrash.ll 2005-10-02-InvokeSimplify.ll 2005-12-03-IncorrectPHIFold.ll 2006-02-17-InfiniteUnroll.ll 2006-06-12-InfLoop.ll 2006-08-03-Crash.ll 2006-10-19-UncondDiv.ll 2006-10-29-InvokeCrash.ll BrUnwind.ll DeadSetCC.ll EqualPHIEdgeBlockMerge.ll HoistCode.ll InvokeEliminate.ll PhiBlockMerge.ll PhiBlockMerge2.ll PhiEliminate.ll PhiEliminate2.ll PhiNoEliminate.ll UncondBranchToReturn.ll UnreachableEliminate.ll basictest.ll branch-cond-merge.ll branch-cond-prop.ll branch-fold-test.ll branch-fold.ll branch-phi-thread.ll hoist-common-code.ll return-merge.! ll switch-simplify-crash.ll switch_create.ll switch_formation.ll switch_switch_fold.ll switch_thread.ll
Reid Spencer
reid at x10sys.com
Fri Dec 1 20:25:22 PST 2006
Changes in directory llvm/test/Regression/Transforms/SimplifyCFG:
2002-05-05-EmptyBlockMerge.ll updated: 1.4 -> 1.5
2002-05-21-PHIElimination.ll updated: 1.2 -> 1.3
2002-06-24-PHINode.ll updated: 1.4 -> 1.5
2002-09-24-PHIAssertion.ll updated: 1.2 -> 1.3
2003-03-07-DominateProblem.ll updated: 1.2 -> 1.3
2003-08-05-InvokeCrash.ll updated: 1.2 -> 1.3
2003-08-05-MishandleInvoke.ll updated: 1.2 -> 1.3
2003-08-17-BranchFold.ll updated: 1.2 -> 1.3
2003-08-17-BranchFoldOrdering.ll updated: 1.2 -> 1.3
2003-08-17-FoldSwitch.ll updated: 1.3 -> 1.4
2004-12-10-SimplifyCFGCrash.ll updated: 1.2 -> 1.3
2005-06-16-PHICrash.ll updated: 1.1 -> 1.2
2005-08-01-PHIUpdateFail.ll updated: 1.3 -> 1.4
2005-08-03-PHIFactorCrash.ll updated: 1.1 -> 1.2
2005-10-02-InvokeSimplify.ll updated: 1.1 -> 1.2
2005-12-03-IncorrectPHIFold.ll updated: 1.1 -> 1.2
2006-02-17-InfiniteUnroll.ll updated: 1.1 -> 1.2
2006-06-12-InfLoop.ll updated: 1.1 -> 1.2
2006-08-03-Crash.ll updated: 1.1 -> 1.2
2006-10-19-UncondDiv.ll updated: 1.1 -> 1.2
2006-10-29-InvokeCrash.ll updated: 1.1 -> 1.2
BrUnwind.ll updated: 1.1 -> 1.2
DeadSetCC.ll updated: 1.1 -> 1.2
EqualPHIEdgeBlockMerge.ll updated: 1.3 -> 1.4
HoistCode.ll updated: 1.1 -> 1.2
InvokeEliminate.ll updated: 1.3 -> 1.4
PhiBlockMerge.ll updated: 1.3 -> 1.4
PhiBlockMerge2.ll updated: 1.3 -> 1.4
PhiEliminate.ll updated: 1.6 -> 1.7
PhiEliminate2.ll updated: 1.1 -> 1.2
PhiNoEliminate.ll updated: 1.1 -> 1.2
UncondBranchToReturn.ll updated: 1.1 -> 1.2
UnreachableEliminate.ll updated: 1.1 -> 1.2
basictest.ll updated: 1.4 -> 1.5
branch-cond-merge.ll updated: 1.1 -> 1.2
branch-cond-prop.ll updated: 1.1 -> 1.2
branch-fold-test.ll updated: 1.3 -> 1.4
branch-fold.ll updated: 1.1 -> 1.2
branch-phi-thread.ll updated: 1.3 -> 1.4
hoist-common-code.ll updated: 1.1 -> 1.2
return-merge.ll updated: 1.1 -> 1.2
switch-simplify-crash.ll updated: 1.1 -> 1.2
switch_create.ll updated: 1.2 -> 1.3
switch_formation.ll updated: 1.2 -> 1.3
switch_switch_fold.ll updated: 1.1 -> 1.2
switch_thread.ll updated: 1.1 -> 1.2
---
Log message:
Use the llvm-upgrade program to upgrade llvm assembly.
---
Diffs of the changes: (+48 -48)
2002-05-05-EmptyBlockMerge.ll | 2 +-
2002-05-21-PHIElimination.ll | 2 +-
2002-06-24-PHINode.ll | 2 +-
2002-09-24-PHIAssertion.ll | 2 +-
2003-03-07-DominateProblem.ll | 2 +-
2003-08-05-InvokeCrash.ll | 2 +-
2003-08-05-MishandleInvoke.ll | 2 +-
2003-08-17-BranchFold.ll | 2 +-
2003-08-17-BranchFoldOrdering.ll | 2 +-
2003-08-17-FoldSwitch.ll | 2 +-
2004-12-10-SimplifyCFGCrash.ll | 2 +-
2005-06-16-PHICrash.ll | 2 +-
2005-08-01-PHIUpdateFail.ll | 2 +-
2005-08-03-PHIFactorCrash.ll | 2 +-
2005-10-02-InvokeSimplify.ll | 2 +-
2005-12-03-IncorrectPHIFold.ll | 2 +-
2006-02-17-InfiniteUnroll.ll | 2 +-
2006-06-12-InfLoop.ll | 2 +-
2006-08-03-Crash.ll | 2 +-
2006-10-19-UncondDiv.ll | 4 ++--
2006-10-29-InvokeCrash.ll | 2 +-
BrUnwind.ll | 2 +-
DeadSetCC.ll | 2 +-
EqualPHIEdgeBlockMerge.ll | 2 +-
HoistCode.ll | 2 +-
InvokeEliminate.ll | 2 +-
PhiBlockMerge.ll | 2 +-
PhiBlockMerge2.ll | 2 +-
PhiEliminate.ll | 2 +-
PhiEliminate2.ll | 2 +-
PhiNoEliminate.ll | 2 +-
UncondBranchToReturn.ll | 2 +-
UnreachableEliminate.ll | 2 +-
basictest.ll | 2 +-
branch-cond-merge.ll | 2 +-
branch-cond-prop.ll | 2 +-
branch-fold-test.ll | 2 +-
branch-fold.ll | 2 +-
branch-phi-thread.ll | 4 ++--
hoist-common-code.ll | 2 +-
return-merge.ll | 2 +-
switch-simplify-crash.ll | 2 +-
switch_create.ll | 2 +-
switch_formation.ll | 2 +-
switch_switch_fold.ll | 2 +-
switch_thread.ll | 2 +-
46 files changed, 48 insertions(+), 48 deletions(-)
Index: llvm/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll:1.4 llvm/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll:1.5
--- llvm/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll:1.4 Wed May 26 18:51:29 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/2002-05-05-EmptyBlockMerge.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Basic block #2 should not be merged into BB #3!
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep 'br label'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep 'br label'
;
declare void %foo()
implementation
Index: llvm/test/Regression/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll Fri Dec 1 22:23:10 2006
@@ -4,7 +4,7 @@
;
; Which is not valid SSA
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis
void "test"() {
br bool true, label %end, label %Loop
Index: llvm/test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll:1.4 llvm/test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll:1.5
--- llvm/test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll:1.4 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2002-06-24-PHINode.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; -simplifycfg is not folding blocks if there is a PHI node involved. This
; should be fixed eventually
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
int %main(int %argc) {
br label %InlinedFunctionReturnNode
Index: llvm/test/Regression/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg
int %test(int %A, int %B, bool %cond) {
J:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
implementation ; Functions:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Do not remove the invoke!
;
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
int %test() {
%A = invoke int %test() to label %Ret except label %Ret
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Do not remove the invoke!
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep invoke
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep invoke
int %test() {
invoke int %test() to label %Ret except label %Ret
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; This test checks to make sure that 'br X, Dest, Dest' is folded into
; 'br Dest'
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br bool %c2'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br bool %c2'
declare void %noop()
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll:1.2 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll Fri Dec 1 22:23:10 2006
@@ -3,7 +3,7 @@
; due to the fact that the SimplifyCFG function does not use
; the ConstantFoldTerminator function.
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br bool %c2'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br bool %c2'
declare void %noop()
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll:1.3 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep switch
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep switch
int %test1() { ; Test normal folding
switch uint 5, label %Default [
Index: llvm/test/Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll:1.2 Fri Dec 10 11:43:43 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
implementation ; Functions:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll:1.1 Thu Jun 16 20:45:03 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
; PR584
%g_38098584 = external global uint ; <uint*> [#uses=1]
Index: llvm/test/Regression/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll:1.3 Tue Aug 2 19:58:44 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
void %main() {
entry:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll:1.1 Wed Aug 3 13:01:07 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
%arraytype.1.Char = type { int, [0 x sbyte] }
%arraytype.4.Signed = type { int, [0 x int] }
Index: llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll:1.1 Mon Oct 3 18:42:54 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
bool %foo() {
%X = invoke bool %foo() to label %N unwind label %F
Index: llvm/test/Regression/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll:1.1 Sat Dec 3 12:25:32 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Make sure this doesn't turn into an infinite loop
-; RUN: llvm-as < %s | opt -simplifycfg -constprop -simplifycfg | llvm-dis | grep bb86
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -constprop -simplifycfg | llvm-dis | grep bb86
%struct.anon = type { uint, int, int, int, [1024 x sbyte] }
%_zero_ = external global %struct.anon* ; <%struct.anon**> [#uses=2]
Index: llvm/test/Regression/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll:1.1 Fri Feb 17 18:32:44 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
void %polnel_() {
entry:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll:1.1 Mon Jun 12 15:17:44 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
void %main(int %c) {
entry:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2006-08-03-Crash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2006-08-03-Crash.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2006-08-03-Crash.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2006-08-03-Crash.ll:1.1 Thu Aug 3 16:39:41 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/2006-08-03-Crash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -load-vn -gcse -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -load-vn -gcse -simplifycfg -disable-output
; PR867
target endian = big
Index: llvm/test/Regression/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll:1.1 Thu Oct 19 19:41:31 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll Fri Dec 1 22:23:10 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output &&
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep select
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep select
; PR957
Index: llvm/test/Regression/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll:1.1 Sun Oct 29 15:20:56 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
%struct..4._102 = type { %struct.QVectorData* }
%struct..5._125 = type { %struct.QMapData* }
Index: llvm/test/Regression/Transforms/SimplifyCFG/BrUnwind.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/BrUnwind.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/BrUnwind.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/BrUnwind.ll:1.1 Mon Jul 19 20:17:19 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/BrUnwind.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-;RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br label'
+;RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br label'
void %test(bool %C) {
br bool %C, label %A, label %B
A:
Index: llvm/test/Regression/Transforms/SimplifyCFG/DeadSetCC.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/DeadSetCC.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/DeadSetCC.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/DeadSetCC.ll:1.1 Sat Jan 1 10:00:56 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/DeadSetCC.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep seteq
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep seteq
; Check that simplifycfg deletes a dead 'seteq' instruction when it
; folds a conditional branch into a switch instruction.
Index: llvm/test/Regression/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll:1.3 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Test merging of blocks with phi nodes.
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'N:'
;
int %test(bool %a) {
Index: llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll:1.1 Mon Nov 29 18:31:16 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/HoistCode.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
void %foo(bool %C, int* %P) {
br bool %C, label %T, label %F
Index: llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll:1.3 Wed Jun 30 23:09:14 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll Fri Dec 1 22:23:10 2006
@@ -3,7 +3,7 @@
; If this test is successful, the function should be reduced to 'call; ret'
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not egrep 'invoke|br'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not egrep 'invoke|br'
declare void %bar()
Index: llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge.ll:1.3 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Test merging of blocks that only have PHI nodes in them
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'N:'
;
int %test(bool %a, bool %b) {
Index: llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge2.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge2.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge2.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge2.ll:1.3 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/PhiBlockMerge2.ll Fri Dec 1 22:23:10 2006
@@ -2,7 +2,7 @@
; where the mergedinto block doesn't have any PHI nodes, and is in fact
; dominated by the block-to-be-eliminated
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'N:'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'N:'
;
int %test(bool %a, bool %b) {
Index: llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll:1.6 llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll:1.7
--- llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll:1.6 Sat Nov 18 13:17:52 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate.ll Fri Dec 1 22:23:10 2006
@@ -3,7 +3,7 @@
; nodes away allows the branches to be eliminated, performing a simple form of
; 'if conversion'.
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis > %t.xform
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis > %t.xform
; RUN: not grep phi %t.xform && grep ret %t.xform
declare void %use(bool)
Index: llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate2.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate2.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate2.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate2.ll:1.1 Fri Apr 9 18:50:29 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/PhiEliminate2.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
int %test(bool %C, int %V1, int %V2) {
entry:
Index: llvm/test/Regression/Transforms/SimplifyCFG/PhiNoEliminate.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/PhiNoEliminate.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/PhiNoEliminate.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/PhiNoEliminate.ll:1.1 Thu Oct 14 00:12:50 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/PhiNoEliminate.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep select
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep select
;; The PHI node in this example should not be turned into a select, as we are
;; not able to ifcvt the entire block. As such, converting to a select just
Index: llvm/test/Regression/Transforms/SimplifyCFG/UncondBranchToReturn.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/UncondBranchToReturn.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/UncondBranchToReturn.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/UncondBranchToReturn.ll:1.1 Mon Feb 16 00:35:19 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/UncondBranchToReturn.ll Fri Dec 1 22:23:10 2006
@@ -2,7 +2,7 @@
; a PHI node and a return. Make sure the simplify cfg can straighten out this
; important case. This is basically the most trivial form of tail-duplication.
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br label'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br label'
int %test(bool %B, int %A, int %B) {
br bool %B, label %T, label %F
Index: llvm/test/Regression/Transforms/SimplifyCFG/UnreachableEliminate.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/UnreachableEliminate.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/UnreachableEliminate.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/UnreachableEliminate.ll:1.1 Sun Oct 17 23:06:41 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/UnreachableEliminate.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep unreachable
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep unreachable
void %test1(bool %C, bool* %BP) {
br bool %C, label %T, label %F
Index: llvm/test/Regression/Transforms/SimplifyCFG/basictest.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/basictest.ll:1.4 llvm/test/Regression/Transforms/SimplifyCFG/basictest.ll:1.5
--- llvm/test/Regression/Transforms/SimplifyCFG/basictest.ll:1.4 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/basictest.ll Fri Dec 1 22:23:10 2006
@@ -1,6 +1,6 @@
; Test CFG simplify removal of branch instructions...
;
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
void "test1"() {
Index: llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-merge.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-merge.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-merge.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-merge.ll:1.1 Sat May 1 18:35:21 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-merge.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -instcombine -simplifycfg | llvm-dis | not grep call
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -instcombine -simplifycfg | llvm-dis | not grep call
declare void %bar()
Index: llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-prop.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-prop.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-prop.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-prop.ll:1.1 Sat May 1 17:36:24 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/branch-cond-prop.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep call
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep call
declare void %bar()
Index: llvm/test/Regression/Transforms/SimplifyCFG/branch-fold-test.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/branch-fold-test.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/branch-fold-test.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/branch-fold-test.ll:1.3 Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/branch-fold-test.ll Fri Dec 1 22:23:10 2006
@@ -1,7 +1,7 @@
; This test ensures that the simplifycfg pass continues to constant fold
; terminator instructions.
-; RUN: llvm-as < %s | opt -simplifycfg | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | not grep br
int %test(int %A, int %B) {
J:
Index: llvm/test/Regression/Transforms/SimplifyCFG/branch-fold.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/branch-fold.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/branch-fold.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/branch-fold.ll:1.1 Fri Sep 23 13:43:57 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/branch-fold.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep 'br bool' | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep 'br bool' | wc -l | grep 1
void %test(int* %P, int* %Q, bool %A, bool %B) {
br bool %A, label %a, label %b ;; fold the two branches into one
Index: llvm/test/Regression/Transforms/SimplifyCFG/branch-phi-thread.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/branch-phi-thread.ll:1.3 llvm/test/Regression/Transforms/SimplifyCFG/branch-phi-thread.ll:1.4
--- llvm/test/Regression/Transforms/SimplifyCFG/branch-phi-thread.ll:1.3 Mon Sep 19 20:43:41 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/branch-phi-thread.ll Fri Dec 1 22:23:10 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -simplifycfg -adce | llvm-dis | not grep 'call void %f1' &&
-; RUN: llvm-as < %s | opt -simplifycfg -adce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -adce | llvm-dis | not grep 'call void %f1' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -adce -disable-output
declare void %f1()
declare void %f2()
declare void %f3()
Index: llvm/test/Regression/Transforms/SimplifyCFG/hoist-common-code.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/hoist-common-code.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/hoist-common-code.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/hoist-common-code.ll:1.1 Mon May 9 16:21:10 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/hoist-common-code.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br'
declare void %bar(int)
void %test(bool %P, int* %Q) {
Index: llvm/test/Regression/Transforms/SimplifyCFG/return-merge.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/return-merge.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/return-merge.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/return-merge.ll:1.1 Fri Apr 2 12:12:49 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/return-merge.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
int %test1(bool %C) {
entry:
Index: llvm/test/Regression/Transforms/SimplifyCFG/switch-simplify-crash.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/switch-simplify-crash.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/switch-simplify-crash.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/switch-simplify-crash.ll:1.1 Fri May 20 17:19:34 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/switch-simplify-crash.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
void %NewExtractNames() {
Index: llvm/test/Regression/Transforms/SimplifyCFG/switch_create.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/switch_create.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/switch_create.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/switch_create.ll:1.2 Wed Feb 23 20:13:50 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/switch_create.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br
declare void %foo1()
declare void %foo2()
Index: llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll:1.2 Thu Nov 23 09:14:52 2006
+++ llvm/test/Regression/Transforms/SimplifyCFG/switch_formation.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'br'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br'
bool %_ZN4llvm11SetCondInst7classofEPKNS_11InstructionE({uint, uint}* %I) {
entry:
Index: llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll:1.1 Tue Feb 24 01:21:09 2004
+++ llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | grep switch | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep switch | wc -l | grep 1
; Test that a switch going to a switch on the same value can be merged. All
; three switches in this example can be merged into one big one.
Index: llvm/test/Regression/Transforms/SimplifyCFG/switch_thread.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/switch_thread.ll:1.1 llvm/test/Regression/Transforms/SimplifyCFG/switch_thread.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyCFG/switch_thread.ll:1.1 Thu Feb 24 00:15:27 2005
+++ llvm/test/Regression/Transforms/SimplifyCFG/switch_thread.ll Fri Dec 1 22:23:10 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep 'call void %DEAD'
+; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'call void %DEAD'
; Test that we can thread a simple known condition through switch statements.
More information about the llvm-commits
mailing list