diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-04-24 09:15:38 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-04-24 09:15:38 +0000 |
commit | d5cc8b81ca5d0a09a1da7f8b094907eb63a582e6 (patch) | |
tree | 834c1a73d985cf7b4b9a52b83383d0b38494d8a5 /test/Analysis/BasicAA/tailcall-modref.ll | |
parent | 3ef43cf3a2d7fd933f9f9b2960df9426b054d32a (diff) |
FileCheck-ize these tests. Harden some of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/BasicAA/tailcall-modref.ll')
-rw-r--r-- | test/Analysis/BasicAA/tailcall-modref.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Analysis/BasicAA/tailcall-modref.ll b/test/Analysis/BasicAA/tailcall-modref.ll index f7d6c57c1b..ebeb28c113 100644 --- a/test/Analysis/BasicAA/tailcall-modref.ll +++ b/test/Analysis/BasicAA/tailcall-modref.ll @@ -1,11 +1,7 @@ -; RUN: opt < %s -basicaa -gvn -instcombine |\ -; RUN: llvm-dis | grep {ret i32 0} - -declare void @foo(i32*) - -declare void @bar() +; RUN: opt < %s -basicaa -gvn -instcombine -S | FileCheck %s define i32 @test() { +; CHECK: ret i32 0 %A = alloca i32 ; <i32*> [#uses=3] call void @foo( i32* %A ) %X = load i32* %A ; <i32> [#uses=1] @@ -14,3 +10,7 @@ define i32 @test() { %Z = sub i32 %X, %Y ; <i32> [#uses=1] ret i32 %Z } + +declare void @foo(i32*) + +declare void @bar() |