LoongArch: Enable -fsched-pressure by default at -O1 and higher.
gcc/ChangeLog: * common/config/loongarch/loongarch-common.cc: (default_options loongarch_option_optimization_table): Default to -fsched-pressure.
This commit is contained in:
parent
d07682dc25
commit
f3ba57163c
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ static const struct default_options loongarch_option_optimization_table[] =
|
|||
{ OPT_LEVELS_ALL, OPT_fasynchronous_unwind_tables, NULL, 1 },
|
||||
{ OPT_LEVELS_1_PLUS, OPT_fsection_anchors, NULL, 1 },
|
||||
{ OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
|
||||
{ OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 },
|
||||
{ OPT_LEVELS_NONE, 0, NULL, 0 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue