forked from OSchip/llvm-project
[ORC] Use CodeGenOpt::Default as the default level in JITTargetMachineBuilder.
This matches EngineBuilder/MCJIT's default.
This commit is contained in:
parent
13d07bf437
commit
92210cb26f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue