diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2005-03-28 02:01:12 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2005-03-28 02:01:12 +0000 |
commit | ab7ada3ed6a3dbefa05714a5de437997f7f6042c (patch) | |
tree | 8a3af36acc9ec31a9baf7c7ac095623fc4942b22 /tools/gccas/gccas.cpp | |
parent | 493f6366cb5b078716ddbaa1616ebce999938af7 (diff) |
Rename createPromoteMemoryToRegister() to
createPromoteMemoryToRegisterPass() to be consistent with other pass
creation functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 7e22235f7c..1626afed62 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -83,7 +83,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, createPromoteMemoryToRegisterPass());// Kill useless allocas addPass(PM, createGlobalOptimizerPass()); // Optimize out global vars addPass(PM, createGlobalDCEPass()); // Remove unused fns and globs addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation |