mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +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());
|
||||
|
||||
// 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.
|
||||
if (Strip)
|
||||
addPass(Passes, createSymbolStrippingPass());
|
||||
addPass(Passes, createStripSymbolsPass());
|
||||
|
||||
// Propagate constants at call sites into the functions they call.
|
||||
addPass(Passes, createIPConstantPropagationPass());
|
||||
|
Loading…
Reference in New Issue
Block a user