summaryrefslogtreecommitdiffstats
path: root/test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll')
-rw-r--r--test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll b/test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll
index c649d6a..89bd492 100644
--- a/test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll
+++ b/test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll
@@ -1,7 +1,7 @@
; This input caused the mem2reg pass to die because it was trying to promote
; the %r alloca, even though it is invalid to do so in this case!
;
-; RUN: llvm-as < %s | opt -mem2reg
+; RUN: opt < %s -mem2reg
define void @test() {
%r = alloca i32 ; <i32*> [#uses=2]
OpenPOWER on IntegriCloud