diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-08 16:50:01 +0000 |
commit | b1e1e82c54c060ea5dae09dae043234826ca2539 (patch) | |
tree | 97db9bdf6b44f9fd60eb81fa17ea54281587f89d /test/Transforms/FunctionAttrs | |
parent | ee7110f0478cc90ffa419759e21557ed8d669562 (diff) | |
download | llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.gz llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.bz2 llvm-b1e1e82c54c060ea5dae09dae043234826ca2539.tar.xz |
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/FunctionAttrs')
9 files changed, 11 insertions, 11 deletions
diff --git a/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll b/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll index 5261ac4658..43411f860c 100644 --- a/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll +++ b/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone +; RUN: opt %s -functionattrs | llvm-dis | grep readnone define i32 @a() { %tmp = call i32 @b( ) ; <i32> [#uses=1] diff --git a/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll b/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll index a17d381eec..ec73112728 100644 --- a/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll +++ b/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone | count 4 +; RUN: opt %s -functionattrs | llvm-dis | grep readnone | count 4 @x = global i32 0 declare i32 @e() readnone diff --git a/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll b/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll index cebfdacb4c..f69647ae2d 100644 --- a/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll +++ b/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readonly | count 2 +; RUN: opt %s -functionattrs | llvm-dis | grep readonly | count 2 define i32 @f() { entry: diff --git a/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll b/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll index b6077fd8ee..62d7d2ebca 100644 --- a/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll +++ b/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep read +; RUN: opt %s -functionattrs | llvm-dis | not grep read ; PR2792 @g = global i32 0 ; <i32*> [#uses=1] diff --git a/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll b/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll index 50ca641200..98cd446910 100644 --- a/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll +++ b/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone | count 2 +; RUN: opt %s -functionattrs | llvm-dis | grep readnone | count 2 declare i32 @g(i32*) readnone diff --git a/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll b/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll index d9c01171ac..604a91e842 100644 --- a/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll +++ b/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep readnone +; RUN: opt %s -functionattrs | llvm-dis | grep readnone @s = external constant i8 ; <i8*> [#uses=1] diff --git a/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll b/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll index 39a64e6d36..a015cf95cb 100644 --- a/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll +++ b/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep {nocapture *%%q} -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep {nocapture *%%p} | count 6 +; RUN: opt %s -functionattrs | llvm-dis | not grep {nocapture *%%q} +; RUN: opt %s -functionattrs | llvm-dis | grep {nocapture *%%p} | count 6 @g = global i32* null ; <i32**> [#uses=1] define i32* @c1(i32* %q) { diff --git a/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll b/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll index 68a232f5ff..870f924ed1 100644 --- a/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll +++ b/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll @@ -1,5 +1,5 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep {nocapture *%%q} -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep {nocapture *%%p} +; RUN: opt %s -functionattrs | llvm-dis | not grep {nocapture *%%q} +; RUN: opt %s -functionattrs | llvm-dis | grep {nocapture *%%p} define i32* @a(i32** %p) { %tmp = load i32** %p diff --git a/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll b/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll index 4022033c3b..a4da263af1 100644 --- a/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll +++ b/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep read +; RUN: opt %s -functionattrs | llvm-dis | not grep read ; PR3754 define i8* @m(i32 %size) { |