mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-13 03:13:13 +01:00
Make '-O' equivalent to '-O3'.
I have seen it used several times in benchmarks comparing it to 'gdc -O3' and 'dmd -O -inline' now, so people apparently expect it to yield the highest available optimization level.
This commit is contained in:
@@ -47,7 +47,7 @@ static cl::opt<signed char> optimizeLevel(
|
||||
cl::desc("Setting the optimization level:"),
|
||||
cl::ZeroOrMore,
|
||||
cl::values(
|
||||
clEnumValN(2, "O", "Equivalent to -O2"),
|
||||
clEnumValN(3, "O", "Equivalent to -O3"),
|
||||
clEnumValN(0, "O0", "No optimizations (default)"),
|
||||
clEnumValN(1, "O1", "Simple optimizations"),
|
||||
clEnumValN(2, "O2", "Good optimizations"),
|
||||
|
||||
Reference in New Issue
Block a user