mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Turn on ipsccp by default instead of simple IPCP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
59acc7d4ef
commit
b4a400af2e
@ -170,7 +170,8 @@ int llvm::GenerateBytecode(Module *M, int StripLevel, bool Internalize,
|
||||
addPass(Passes, createConstantMergePass());
|
||||
|
||||
// Propagate constants at call sites into the functions they call.
|
||||
addPass(Passes, createIPConstantPropagationPass());
|
||||
addPass(Passes, createIPSCCPPass());
|
||||
addPass(Passes, createCFGSimplificationPass());
|
||||
|
||||
// Remove unused arguments from functions...
|
||||
addPass(Passes, createDeadArgEliminationPass());
|
||||
|
Loading…
Reference in New Issue
Block a user