scalarrepl now includes mem2reg
authorChris Lattner <sabre@nondot.org>
Thu, 11 Sep 2003 16:46:10 +0000 (16:46 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 11 Sep 2003 16:46:10 +0000 (16:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8472 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index 5ba382eaa9e9677aafb488efebaad083f3994686..8a42dc94d474f2ded2cb6dd074c780c155d81031 100644 (file)
@@ -56,7 +56,6 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
   addPass(PM, createTailDuplicationPass());      // Simplify cfg by copying code
   addPass(PM, createCFGSimplificationPass());    // Merge & remove BBs
   addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas
-  addPass(PM, createPromoteMemoryToRegister());  // Promote alloca's to regs
   addPass(PM, createInstructionCombiningPass()); // Combine silly seq's