tweak test, add PR#

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-07 22:14:41 +00:00
parent a9b7738d13
commit 150be808e1

View File

@ -1,10 +1,11 @@
; RUN: opt -tailcallelim %s | llvm-dis | FileCheck %s ; RUN: opt -tailcallelim %s | llvm-dis | FileCheck %s
; PR615
declare void @bar(i32*) declare void @bar(i32*)
define i32 @foo() { define i32 @foo() {
; CHECK: i32 @foo() ; CHECK: i32 @foo()
; CHECK: alloca ; CHECK-NEXT: alloca
%A = alloca i32 ; <i32*> [#uses=2] %A = alloca i32 ; <i32*> [#uses=2]
store i32 17, i32* %A store i32 17, i32* %A
call void @bar( i32* %A ) call void @bar( i32* %A )