diff options
Diffstat (limited to 'llvm/test/Regression/Transforms/BasicAA')
-rw-r--r-- | llvm/test/Regression/Transforms/BasicAA/featuretest.ll | 5 | ||||
-rw-r--r-- | llvm/test/Regression/Transforms/BasicAA/gcsetest.ll | 5 | ||||
-rw-r--r-- | llvm/test/Regression/Transforms/BasicAA/licmtest.ll | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/llvm/test/Regression/Transforms/BasicAA/featuretest.ll b/llvm/test/Regression/Transforms/BasicAA/featuretest.ll index 803dafb6768..0b798e2b635 100644 --- a/llvm/test/Regression/Transforms/BasicAA/featuretest.ll +++ b/llvm/test/Regression/Transforms/BasicAA/featuretest.ll @@ -1,10 +1,7 @@ ; This testcase tests for various features the basicaa test should be able to ; determine, as noted in the comments. -; RUN: if as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | grep REMOVE -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep REMOVE %Global = external global { int } diff --git a/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll b/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll index 67556639470..4287e7d2782 100644 --- a/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll +++ b/llvm/test/Regression/Transforms/BasicAA/gcsetest.ll @@ -2,10 +2,7 @@ ; disambiguating some obvious cases. All loads should be removable in ; this testcase. -; RUN: if as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | grep load -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -basicaa -load-vn -gcse -instcombine -dce | dis | not grep load %A = global int 7 %B = global int 8 diff --git a/llvm/test/Regression/Transforms/BasicAA/licmtest.ll b/llvm/test/Regression/Transforms/BasicAA/licmtest.ll index 585ac17ae92..414a5380853 100644 --- a/llvm/test/Regression/Transforms/BasicAA/licmtest.ll +++ b/llvm/test/Regression/Transforms/BasicAA/licmtest.ll @@ -3,10 +3,7 @@ ; two pointers, then the load should be hoisted, and the store sunk. Thus ; the loop becomes empty and can be deleted by ADCE. -; RUN: if as < %s | opt -basicaa -licm --adce | dis | grep Loop -; RUN: then exit 1 -; RUN: else exit 0 -; RUN: fi +; RUN: as < %s | opt -basicaa -licm --adce | dis | not grep Loop %A = global int 7 %B = global int 8 |