[llvm-commits] CVS: llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll invariant_value_first_arg.ll variable_stride.ll

Reid Spencer reid at x10sys.com
Mon Apr 16 08:32:59 PDT 2007



Changes in directory llvm/test/Transforms/LoopStrengthReduce:

invariant_value_first.ll updated: 1.2 -> 1.3
invariant_value_first_arg.ll updated: 1.2 -> 1.3
variable_stride.ll updated: 1.2 -> 1.3
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Fix syntax of tests to ensure grep pattern is properly quoted.


---
Diffs of the changes:  (+5 -3)

 invariant_value_first.ll     |    3 ++-
 invariant_value_first_arg.ll |    3 ++-
 variable_stride.ll           |    2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)


Index: llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll
diff -u llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll:1.2 llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll:1.3
--- llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll:1.2	Fri Dec  1 22:23:09 2006
+++ llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll	Mon Apr 16 10:31:49 2007
@@ -1,5 +1,6 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'getelementptr.*%outer.*%INDVAR'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \
+; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
 
 declare bool %pred()
 declare int %foo()


Index: llvm/test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll
diff -u llvm/test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll:1.2 llvm/test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll:1.3
--- llvm/test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll:1.2	Fri Dec  1 22:23:09 2006
+++ llvm/test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll	Mon Apr 16 10:31:49 2007
@@ -1,5 +1,6 @@
 ; Check that the index of 'P[outer]' is pulled out of the loop.
-; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | not grep 'getelementptr.*%outer.*%INDVAR'
+; RUN: llvm-upgrade < %s | llvm-as | opt -loop-reduce | llvm-dis | \
+; RUN:   not grep {getelementptr.*%outer.*%INDVAR}
 
 declare bool %pred()
 


Index: llvm/test/Transforms/LoopStrengthReduce/variable_stride.ll
diff -u llvm/test/Transforms/LoopStrengthReduce/variable_stride.ll:1.2 llvm/test/Transforms/LoopStrengthReduce/variable_stride.ll:1.3
--- llvm/test/Transforms/LoopStrengthReduce/variable_stride.ll:1.2	Fri Dec  1 22:23:09 2006
+++ llvm/test/Transforms/LoopStrengthReduce/variable_stride.ll	Mon Apr 16 10:31:49 2007
@@ -1,5 +1,5 @@
 ; Check that variable strides are reduced to adds instead of multiplies.
-; RUN: llvm-upgrade < %s | llvm-as | 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