aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/TailCallElim
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-05 11:35:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-05 11:35:16 +0000
commit31ab6e3364c69a8d07d8e80bd4673d5f8a56a122 (patch)
tree4aec8e97728b70d2691bd6ca9973ebf204e12774 /test/Transforms/TailCallElim
parent8c042c2337948e5a6051f34a2d6263fe19737e14 (diff)
Eliminate uses of %prcontext.
- I'd appreciate it if someone else eyeballs my changes to make sure I captured the intent of the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/TailCallElim')
-rw-r--r--test/Transforms/TailCallElim/move_alloca_for_tail_call.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll b/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll
index bd2b93f7a8..8246feb115 100644
--- a/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll
+++ b/test/Transforms/TailCallElim/move_alloca_for_tail_call.ll
@@ -1,9 +1,10 @@
-; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \
-; RUN: %prcontext alloca 1 | grep {i32 @foo}
+; RUN: opt -tailcallelim %s | llvm-dis | FileCheck %s
declare void @bar(i32*)
define i32 @foo() {
+; CHECK: i32 @foo()
+; CHECK: alloca
%A = alloca i32 ; <i32*> [#uses=2]
store i32 17, i32* %A
call void @bar( i32* %A )