Pass CodeGenOpt::Less to LLVM at O1 (rather than CodeGenOpt::None). (#37893)
For context, please see
https://github.com/JuliaLang/julia/pull/35086#issuecomment-700944522.
Regarding alignment with clang, please see
https://reviews.llvm.org/D28409
(/https://github.com/JuliaLang/julia/pull/35086#issuecomment-598282810).
```
Prior to Julia 1.5, Julia passed CodeGenOpt::Aggressive to LLVM at -O1.
As of Julia 1.5, Julia passes CodeGenOpt::None to LLVM at -O1.
This reduction in optimization effort at -O1 improved compilation latency,
but induced appreciable runtime regressions.
This commit makes Julia pass CodeGenOpt::Less to LLVM at -O1,
mitigating the runtime regressions caused by CodeGenOpt::None,
while retaining most of CodeGenOpt::None's latency improvements.
This commit also aligns Julia's CodeGenOpt selection at -O1
with that of clang.
```
Best! :)