mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-04 03:39:29 +00:00
Adjust to change in pass name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f14fb1a0b
commit
f8f70c1a17
@ -126,10 +126,10 @@ void Optimize(Module* M) {
|
|||||||
addPass(Passes, createConstantMergePass());
|
addPass(Passes, createConstantMergePass());
|
||||||
|
|
||||||
// If the -s command line option was specified, strip the symbols out of the
|
// If the -s command line option was specified, strip the symbols out of the
|
||||||
// resulting program to make it smaller. -s is a GCC option that we are
|
// resulting program to make it smaller. -s is a GLD option that we are
|
||||||
// supporting.
|
// supporting.
|
||||||
if (Strip)
|
if (Strip)
|
||||||
addPass(Passes, createSymbolStrippingPass());
|
addPass(Passes, createStripSymbolsPass());
|
||||||
|
|
||||||
// Propagate constants at call sites into the functions they call.
|
// Propagate constants at call sites into the functions they call.
|
||||||
addPass(Passes, createIPConstantPropagationPass());
|
addPass(Passes, createIPConstantPropagationPass());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user