From 0f39359dd278a26cf4809046f3700275aae56cd8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Feb 2004 21:35:02 +0000 Subject: [PATCH] Add a new pass llvm-svn: 11838 --- llvm/tools/gccas/gccas.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp index 7b5018a5198e..e04b2b5646a4 100644 --- a/llvm/tools/gccas/gccas.cpp +++ b/llvm/tools/gccas/gccas.cpp @@ -68,6 +68,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code addPass(PM, createPromoteMemoryToRegister()); // Kill useless allocas + addPass(PM, createGlobalConstifierPass()); // Mark read-only globals const addPass(PM, createGlobalDCEPass()); // Remove unused globals addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation addPass(PM, createDeadArgEliminationPass()); // Dead argument elimination