This pass is not needed, as there is only ever one global: the stack

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-10-07 04:10:36 +00:00
parent 69406b06ad
commit 8ecaccebf1

View File

@ -272,8 +272,6 @@ StackerCompiler::compile(
if (optLevel > 1) {
// Clean up disgusting code
Passes.add(createCFGSimplificationPass());
// Mark read-only globals const
Passes.add(createGlobalConstifierPass());
// Remove unused globals
Passes.add(createGlobalDCEPass());
// IP Constant Propagation