[llvm-commits] CVS: llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll 2005-08-17-OutOfLoopVariant.ll 2005-09-12-UsesOutOutsideOfLoop.ll different-type-ivs.ll dont-hoist-simple-loop-constants.ll dont_insert_redundant_ops.ll dont_reduce_bytes.ll exit_compare_live_range.ll invariant_value_first.ll invariant_value_first_arg.ll nested-reduce.ll ops_after_indvar.ll phi_node_update_multiple_preds.ll related_indvars.ll remove_indvar.ll share_code_in_preheader.ll share_ivs.ll use_postinc_value_outside_loop.ll var_stride_used_by_compare.ll variable_stride.ll
Reid Spencer
reid at x10sys.com
Fri Dec 1 20:25:22 PST 2006
Changes in directory llvm/test/Regression/Transforms/LoopStrengthReduce:
2005-08-15-AddRecIV.ll updated: 1.1 -> 1.2
2005-08-17-OutOfLoopVariant.ll updated: 1.1 -> 1.2
2005-09-12-UsesOutOutsideOfLoop.ll updated: 1.1 -> 1.2
different-type-ivs.ll updated: 1.1 -> 1.2
dont-hoist-simple-loop-constants.ll updated: 1.1 -> 1.2
dont_insert_redundant_ops.ll updated: 1.4 -> 1.5
dont_reduce_bytes.ll updated: 1.4 -> 1.5
exit_compare_live_range.ll updated: 1.2 -> 1.3
invariant_value_first.ll updated: 1.1 -> 1.2
invariant_value_first_arg.ll updated: 1.1 -> 1.2
nested-reduce.ll updated: 1.1 -> 1.2
ops_after_indvar.ll updated: 1.3 -> 1.4
phi_node_update_multiple_preds.ll updated: 1.1 -> 1.2
related_indvars.ll updated: 1.2 -> 1.3
remove_indvar.ll updated: 1.1 -> 1.2
share_code_in_preheader.ll updated: 1.1 -> 1.2
share_ivs.ll updated: 1.2 -> 1.3
use_postinc_value_outside_loop.ll updated: 1.2 -> 1.3
var_stride_used_by_compare.ll updated: 1.1 -> 1.2
variable_stride.ll updated: 1.1 -> 1.2
---
Log message:
Use the llvm-upgrade program to upgrade llvm assembly.
---
Diffs of the changes: (+23 -23)
2005-08-15-AddRecIV.ll | 2 +-
2005-08-17-OutOfLoopVariant.ll | 2 +-
2005-09-12-UsesOutOutsideOfLoop.ll | 2 +-
different-type-ivs.ll | 2 +-
dont-hoist-simple-loop-constants.ll | 2 +-
dont_insert_redundant_ops.ll | 2 +-
dont_reduce_bytes.ll | 2 +-
exit_compare_live_range.ll | 2 +-
invariant_value_first.ll | 2 +-
invariant_value_first_arg.ll | 2 +-
nested-reduce.ll | 4 ++--
ops_after_indvar.ll | 2 +-
phi_node_update_multiple_preds.ll | 2 +-
related_indvars.ll | 2 +-
remove_indvar.ll | 2 +-
share_code_in_preheader.ll | 2 +-
share_ivs.ll | 2 +-
use_postinc_value_outside_loop.ll | 2 +-
var_stride_used_by_compare.ll | 6 +++---
variable_stride.ll | 2 +-
20 files changed, 23 insertions(+), 23 deletions(-)
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll:1.1 Mon Aug 15 19:36:12 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output
void %try_swap() {
entry:
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll:1.1 Wed Aug 17 16:21:47 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output
int %image_to_texture(uint %indvar454) {
loopentry.1.outer:
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll:1.1 Mon Sep 12 12:08:15 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output
void %main() {
entry:
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/different-type-ivs.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/different-type-ivs.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/different-type-ivs.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/different-type-ivs.ll:1.1 Mon Aug 8 17:13:49 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/different-type-ivs.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output
; Test to make sure that loop-reduce never crashes on IV's
; with different types but identical strides.
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll:1.1 Fri Sep 9 20:14:37 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep 'cast uint 1 to uint'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'cast uint 1 to uint'
; The setlt wants to use a value that is incremented one more than the dominant
; IV. Don't insert the 1 outside the loop, preventing folding it into the add.
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll:1.4 llvm/test/Regression/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll:1.5
--- llvm/test/Regression/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll:1.4 Wed Aug 3 17:51:40 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
; Check that this test makes INDVAR and related stuff dead.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 2
declare bool %pred()
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll:1.4 llvm/test/Regression/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll:1.5
--- llvm/test/Regression/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll:1.4 Tue Oct 11 13:42:26 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll Fri Dec 1 22:23:09 2006
@@ -1,7 +1,7 @@
; Don't reduce the byte access to P[i], at least not on targets that
; support an efficient 'mem[r1+r2]' addressing mode.
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output
declare bool %pred(int)
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/exit_compare_live_range.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/exit_compare_live_range.ll:1.2 llvm/test/Regression/Transforms/LoopStrengthReduce/exit_compare_live_range.ll:1.3
--- llvm/test/Regression/Transforms/LoopStrengthReduce/exit_compare_live_range.ll:1.2 Mon Aug 8 00:29:51 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/exit_compare_live_range.ll Fri Dec 1 22:23:09 2006
@@ -2,7 +2,7 @@
; having overlapping live ranges that result in copies. We want the setcc instruction
; immediately before the conditional branch.
;
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | %prcontext 'br bool' 1 | grep set
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | %prcontext 'br bool' 1 | grep set
void %foo(float* %D, uint %E) {
entry:
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first.ll:1.1 Sun Mar 6 16:04:27 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep 'getelementptr.*%outer.*%INDVAR'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'getelementptr.*%outer.*%INDVAR'
declare bool %pred()
declare int %foo()
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll:1.1 Sun Mar 6 16:06:09 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep 'getelementptr.*%outer.*%INDVAR'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'getelementptr.*%outer.*%INDVAR'
declare bool %pred()
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/nested-reduce.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/nested-reduce.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/nested-reduce.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/nested-reduce.ll:1.1 Sun Oct 30 00:14:03 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/nested-reduce.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -loop-reduce &&
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep mul
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep mul
; Make sure we don't get a multiply by 6 in this loop.
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/ops_after_indvar.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/ops_after_indvar.ll:1.3 llvm/test/Regression/Transforms/LoopStrengthReduce/ops_after_indvar.ll:1.4
--- llvm/test/Regression/Transforms/LoopStrengthReduce/ops_after_indvar.ll:1.3 Thu Aug 4 14:08:07 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/ops_after_indvar.ll Fri Dec 1 22:23:09 2006
@@ -1,7 +1,7 @@
; Check that this test makes INDVAR and related stuff dead, because P[indvar]
; gets reduced, making INDVAR dead.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep INDVAR
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep INDVAR
declare bool %pred()
declare int %getidx()
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll:1.1 Tue Aug 9 19:33:01 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce -disable-output
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce -disable-output
; LSR should not crash on this.
fastcc void %loadloop() {
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll:1.2 llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll:1.3
--- llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll:1.2 Mon Aug 8 00:29:51 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 1
; This should only result in one PHI node!
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/remove_indvar.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/remove_indvar.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/remove_indvar.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/remove_indvar.ll:1.1 Sun Mar 6 15:47:40 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/remove_indvar.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
; Check that this test makes INDVAR and related stuff dead.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep INDVAR
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep INDVAR
declare bool %pred()
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/share_code_in_preheader.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/share_code_in_preheader.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/share_code_in_preheader.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/share_code_in_preheader.ll:1.1 Mon Aug 8 00:46:51 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/share_code_in_preheader.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep mul | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep mul | wc -l | grep 1
; LSR should not make two copies of the Q*L expression in the preheader!
sbyte %test(sbyte* %A, sbyte* %B, int %L, int %Q, int %N) {
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/share_ivs.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/share_ivs.ll:1.2 llvm/test/Regression/Transforms/LoopStrengthReduce/share_ivs.ll:1.3
--- llvm/test/Regression/Transforms/LoopStrengthReduce/share_ivs.ll:1.2 Mon Aug 8 19:19:44 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/share_ivs.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 1
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep phi | wc -l | grep 1
; This testcase should have ONE stride 18 indvar, the other use should have a
; loop invariant value (B) added to it inside of the loop, instead of having
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll:1.2 llvm/test/Regression/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll:1.3
--- llvm/test/Regression/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll:1.2 Mon Sep 12 12:09:40 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll Fri Dec 1 22:23:09 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | grep 'add uint %iv.*inc, 1'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | grep 'add uint %iv.*inc, 1'
;
; Make sure that the use of the IV outside of the loop (the store) uses the
; post incremented value of the IV, not the preincremented value. This
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll:1.1 Fri Nov 17 00:09:49 2006
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll Fri Dec 1 22:23:09 2006
@@ -1,10 +1,10 @@
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis &&
; Base should not be i*3, it should be i*2.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep 'mul.*%i, 3' &&
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'mul.*%i, 3' &&
; Indvar should not start at zero:
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep 'phi uint .* 0'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'phi uint .* 0'
; mul uint %i, 3
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/variable_stride.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/variable_stride.ll:1.1 llvm/test/Regression/Transforms/LoopStrengthReduce/variable_stride.ll:1.2
--- llvm/test/Regression/Transforms/LoopStrengthReduce/variable_stride.ll:1.1 Tue Aug 9 19:48:11 2005
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/variable_stride.ll Fri Dec 1 22:23:09 2006
@@ -1,5 +1,5 @@
; Check that variable strides are reduced to adds instead of multiplies.
-; RUN: llvm-as < %s | opt -loop-reduce | llvm-dis | not grep 'mul'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'mul'
declare bool %pred(int)
More information about the llvm-commits
mailing list