diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 15:15:52 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 15:15:52 +0000 |
commit | 4cda190ef512853b290db8b4054367fa2e3e094c (patch) | |
tree | 2cee5f23133d0d58fe9c24a836fc5694861ac22f /test/Analysis | |
parent | 3401c99889184fee77307889914299f283e23def (diff) | |
download | external_llvm-4cda190ef512853b290db8b4054367fa2e3e094c.zip external_llvm-4cda190ef512853b290db8b4054367fa2e3e094c.tar.gz external_llvm-4cda190ef512853b290db8b4054367fa2e3e094c.tar.bz2 |
For PR1319:
Fix test syntax per new rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/BasicAA/2003-11-04-SimpleCases.ll | 3 | ||||
-rw-r--r-- | test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll | 3 | ||||
-rw-r--r-- | test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll | 3 | ||||
-rw-r--r-- | test/Analysis/BasicAA/modref.ll | 5 |
4 files changed, 9 insertions, 5 deletions
diff --git a/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll b/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll index fe6ed08..1d122fd 100644 --- a/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll +++ b/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll @@ -1,7 +1,8 @@ ; This testcase consists of alias relations which should be completely ; resolvable by basicaa. -; RUN: llvm-upgrade < %s | llvm-as | opt -aa-eval -print-may-aliases 2>&1 -disable-output | not grep May: +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: opt -aa-eval -print-may-aliases -disable-output |& not grep May: %T = type { uint, [10 x ubyte] } diff --git a/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll b/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll index f74bdba..5f602b8 100644 --- a/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll +++ b/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll @@ -1,7 +1,8 @@ ; This testcase consists of alias relations which should be completely ; resolvable by basicaa, but require analysis of getelementptr constant exprs. -; RUN: llvm-upgrade < %s | llvm-as | opt -aa-eval -print-may-aliases 2>&1 -disable-output | not grep May: +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: opt -aa-eval -print-may-aliases -disable-output |& not grep May: %T = type { uint, [10 x ubyte] } diff --git a/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll b/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll index 6c82217..d7ae66e 100644 --- a/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll +++ b/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll @@ -1,4 +1,5 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -aa-eval -disable-output 2>&1 | grep '2 no alias respon' +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: opt -aa-eval -disable-output |& grep '2 no alias respon' ;; TEST that A[1][0] may alias A[0][i]. diff --git a/test/Analysis/BasicAA/modref.ll b/test/Analysis/BasicAA/modref.ll index be2506c..27b9c40 100644 --- a/test/Analysis/BasicAA/modref.ll +++ b/test/Analysis/BasicAA/modref.ll @@ -1,6 +1,7 @@ ; A very rudimentary test on AliasAnalysis::getModRefInfo. -; RUN: llvm-upgrade < %s | llvm-as | opt -print-all-alias-modref-info -aa-eval -disable-output && -; RUN: llvm-upgrade < %s | llvm-as | opt -print-all-alias-modref-info -aa-eval -disable-output 2>&1 | not grep NoModRef +; RUN: llvm-upgrade < %s | llvm-as | \ +; RUN: opt -print-all-alias-modref-info -aa-eval -disable-output |& +; RUN: not grep NoModRef int %callee() { %X = alloca { int, int } |