[llvm-commits] CVS: llvm/test/Transforms/LoopRotate/PhiRename-1.ll

Reid Spencer rspencer at reidspencer.com
Mon Apr 9 16:47:56 PDT 2007


On Mon, 2007-04-09 at 18:40 -0500, Devang Patel wrote:
> 
> Changes in directory llvm/test/Transforms/LoopRotate:
> 
> PhiRename-1.ll updated: 1.1 -> 1.2
> ---
> Log message:
> 
> Add check for opt crash.

This idiom is becoming more and more prevalent. While it works, its also
doubling the runtime of each test its used in. I'm wondering if we could
invest in a "notgrep" script (since we're invoking "not" anyway) that
would fail on empty input. Is this sufficient to avoid having to do
things twice?

> 
> 
> ---
> Diffs of the changes:  (+1 -0)
> 
>  PhiRename-1.ll |    1 +
>  1 files changed, 1 insertion(+)
> 
> 
> Index: llvm/test/Transforms/LoopRotate/PhiRename-1.ll
> diff -u llvm/test/Transforms/LoopRotate/PhiRename-1.ll:1.1 llvm/test/Transforms/LoopRotate/PhiRename-1.ll:1.2
> --- llvm/test/Transforms/LoopRotate/PhiRename-1.ll:1.1	Mon Apr  9 17:22:42 2007
> +++ llvm/test/Transforms/LoopRotate/PhiRename-1.ll	Mon Apr  9 18:40:15 2007
> @@ -1,3 +1,4 @@
> +; RUN: llvm-as < %s | opt -loop-rotate -disable-output &&
>  ; RUN: llvm-as < %s | opt -loop-rotate | llvm-dis | not grep "\[ .tmp224" 
>  target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
>  
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list