diff options
| author | Dan Gohman <gohman@apple.com> | 2009-09-08 22:34:10 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-09-08 22:34:10 +0000 |
| commit | 72a13d2476706227a6ae42001631b1e5ac4db956 (patch) | |
| tree | 074e63d84183790a2ce3abb2eb33c643cea972eb /llvm/test/Transforms/FunctionAttrs | |
| parent | e6a80ced1c4b024eef35a4a8036c1541fdaf89be (diff) | |
| download | bcm5719-llvm-72a13d2476706227a6ae42001631b1e5ac4db956.tar.gz bcm5719-llvm-72a13d2476706227a6ae42001631b1e5ac4db956.zip | |
Use opt -S instead of piping bitcode output through llvm-dis.
llvm-svn: 81257
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs')
9 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll b/llvm/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll index 43411f860c3..53e02089d24 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | grep readnone +; RUN: opt %s -functionattrs -S | grep readnone define i32 @a() { %tmp = call i32 @b( ) ; <i32> [#uses=1] diff --git a/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll b/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll index ec731127287..55a72a5b29f 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | grep readnone | count 4 +; RUN: opt %s -functionattrs -S | grep readnone | count 4 @x = global i32 0 declare i32 @e() readnone diff --git a/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll b/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll index f69647ae2d5..b3ba85119e6 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | grep readonly | count 2 +; RUN: opt %s -functionattrs -S | grep readonly | count 2 define i32 @f() { entry: diff --git a/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll b/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll index 62d7d2ebcac..6dee766b74d 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | not grep read +; RUN: opt %s -functionattrs -S | not grep read ; PR2792 @g = global i32 0 ; <i32*> [#uses=1] diff --git a/llvm/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll b/llvm/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll index 98cd446910a..b8fb5dea7a0 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | grep readnone | count 2 +; RUN: opt %s -functionattrs -S | grep readnone | count 2 declare i32 @g(i32*) readnone diff --git a/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll b/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll index 604a91e8426..e85a3ef1d0d 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | grep readnone +; RUN: opt %s -functionattrs -S | grep readnone @s = external constant i8 ; <i8*> [#uses=1] diff --git a/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll b/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll index a015cf95cb8..e8938020071 100644 --- a/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll +++ b/llvm/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -functionattrs | llvm-dis | not grep {nocapture *%%q} -; RUN: opt %s -functionattrs | llvm-dis | grep {nocapture *%%p} | count 6 +; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q} +; RUN: opt %s -functionattrs -S | grep {nocapture *%%p} | count 6 @g = global i32* null ; <i32**> [#uses=1] define i32* @c1(i32* %q) { diff --git a/llvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll b/llvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll index 870f924ed18..dea0a227276 100644 --- a/llvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll +++ b/llvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll @@ -1,5 +1,5 @@ -; RUN: opt %s -functionattrs | llvm-dis | not grep {nocapture *%%q} -; RUN: opt %s -functionattrs | llvm-dis | grep {nocapture *%%p} +; RUN: opt %s -functionattrs -S | not grep {nocapture *%%q} +; RUN: opt %s -functionattrs -S | grep {nocapture *%%p} define i32* @a(i32** %p) { %tmp = load i32** %p diff --git a/llvm/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll b/llvm/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll index a4da263af16..5cc92759d24 100644 --- a/llvm/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll +++ b/llvm/test/Transforms/FunctionAttrs/2009-05-06-Malloc.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -functionattrs | llvm-dis | not grep read +; RUN: opt %s -functionattrs -S | not grep read ; PR3754 define i8* @m(i32 %size) { |

