From 3e054fe9efc64596534bbae0d1634ed15181d642 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 8 Sep 2009 22:34:10 +0000 Subject: Use opt -S instead of piping bitcode output through llvm-dis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll | 2 +- test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll | 2 +- test/Transforms/LoopIndexSplit/2009-03-30-undef.ll | 2 +- test/Transforms/LoopIndexSplit/PR3913.ll | 2 +- test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test/Transforms/LoopIndexSplit') diff --git a/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll b/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll index 700c0f222f..47f4fe3160 100644 --- a/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll +++ b/test/Transforms/LoopIndexSplit/2007-09-24-UpdateIterationSpace.ll @@ -1,6 +1,6 @@ ; Update loop iteraton space to eliminate condition inside loop. -; RUN: opt %s -loop-index-split | llvm-dis | not grep bothcond +; RUN: opt %s -loop-index-split -S | not grep bothcond define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) { entry: %tmp519 = icmp sgt i32 %xmin, %xmax ; [#uses=1] diff --git a/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll b/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll index 3089ce49ad..c7b11caf05 100644 --- a/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll +++ b/test/Transforms/LoopIndexSplit/2007-09-25-UpdateIterationSpace-2.ll @@ -1,6 +1,6 @@ ; PR714 ; Update loop iteraton space to eliminate condition inside loop. -; RUN: opt %s -loop-index-split | llvm-dis | not grep bothcond +; RUN: opt %s -loop-index-split -S | not grep bothcond define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) { entry: diff --git a/test/Transforms/LoopIndexSplit/2009-03-30-undef.ll b/test/Transforms/LoopIndexSplit/2009-03-30-undef.ll index 28c41c9210..deef941289 100644 --- a/test/Transforms/LoopIndexSplit/2009-03-30-undef.ll +++ b/test/Transforms/LoopIndexSplit/2009-03-30-undef.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-index-split | llvm-dis | not grep undef +; RUN: opt < %s -loop-index-split -S | not grep undef define i32 @main() { entry: br label %header diff --git a/test/Transforms/LoopIndexSplit/PR3913.ll b/test/Transforms/LoopIndexSplit/PR3913.ll index 181633300a..d3a93205e5 100644 --- a/test/Transforms/LoopIndexSplit/PR3913.ll +++ b/test/Transforms/LoopIndexSplit/PR3913.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -loop-index-split | llvm-dis | not grep "icmp ne" +; RUN: opt %s -loop-index-split -S | not grep "icmp ne" define i32 @main() { entry: diff --git a/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll b/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll index 47129ff0f7..6047cbcdcb 100644 --- a/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll +++ b/test/Transforms/LoopIndexSplit/UpperBound-2007-08-24.ll @@ -1,6 +1,6 @@ ; Split loop. Split value is a constant and greater then exit value. ; Check whether optimizer inserts proper checkfor split value or not. -; RUN: opt %s -loop-index-split | llvm-dis | grep select +; RUN: opt %s -loop-index-split -S | grep select @k = external global i32 ; [#uses=2] -- cgit v1.2.3-70-g09d2