mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
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:
parent
69406b06ad
commit
8ecaccebf1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user