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
This commit is contained in:
Reid Spencer
2007-04-16 15:15:52 +00:00
parent 3401c99889
commit 4cda190ef5
23 changed files with 48 additions and 30 deletions
@@ -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] }
@@ -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] }
@@ -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].
+3 -2
View File
@@ -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 }