extra pass is required now
authorChris Lattner <sabre@nondot.org>
Wed, 1 Nov 2006 18:30:25 +0000 (18:30 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 1 Nov 2006 18:30:25 +0000 (18:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31353 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/ScalarRepl/phinodepromote.ll

index eca8903ed7b8febf12997bbcb223a0090187cbbb..573cab2b43cc24d3aa685391d9193b9e72710bbe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine -mem2reg | llvm-dis | not grep alloca
+; RUN: llvm-as < %s | opt -simplifycfg -instcombine -mem2reg | llvm-dis | not grep alloca
 ;
 ; This tests to see if mem2reg can promote alloca instructions whose addresses
 ; are used by PHI nodes that are immediately loaded.  The LLVM C++ front-end