[ORC] Use CodeGenOpt::Default as the default level in JITTargetMachineBuilder.

This matches EngineBuilder/MCJIT's default.
This commit is contained in:
Lang Hames 2020-04-10 13:24:41 -07:00
parent 13d07bf437
commit 92210cb26f
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ private:
TargetOptions Options; TargetOptions Options;
Optional<Reloc::Model> RM; Optional<Reloc::Model> RM;
Optional<CodeModel::Model> CM; Optional<CodeModel::Model> CM;
CodeGenOpt::Level OptLevel = CodeGenOpt::None; CodeGenOpt::Level OptLevel = CodeGenOpt::Default;
}; };
} // end namespace orc } // end namespace orc