forked from OSchip/llvm-project
parent
8b291e66eb
commit
50e6f82ce4
|
@ -264,7 +264,7 @@ inline void addPass(PassManager &PM, Pass *P) {
|
||||||
/// duplicates llvm-gcc behaviour.
|
/// duplicates llvm-gcc behaviour.
|
||||||
///
|
///
|
||||||
/// OptLevel - Optimization Level
|
/// OptLevel - Optimization Level
|
||||||
void AddOptimizationPasses(PassManager &MPM, FunctionPassManager &FPM,
|
void AddOptimizationPasses(PassManager &MPM, FunctionPassManager &FPM,
|
||||||
unsigned OptLevel) {
|
unsigned OptLevel) {
|
||||||
|
|
||||||
if (OptLevel == 0)
|
if (OptLevel == 0)
|
||||||
|
|
Loading…
Reference in New Issue