modulo-sched: fix parameters usage and their ranges
authorRoman Zhuykov <zhroma@ispras.ru>
Fri, 13 Dec 2019 17:17:31 +0000 (17:17 +0000)
committerRoman Zhuykov <zhroma@gcc.gnu.org>
Fri, 13 Dec 2019 17:17:31 +0000 (17:17 +0000)
commitc420be8b3c5fd9e9d80dd583e790f0c2a7c4954b
tree7eef17af9c7fdbe98af1f44ebe576eb45d3b3c61
parent728c2e5eeaa91cf708f2b1b1f996653a7eebae59
modulo-sched: fix parameters usage and their ranges

* modulo-sched.c (sms_schedule): Use param_sms_max_ii_factor
value instead of macro.  Adjust comment.
(sms_schedule_by_order): Use parameter value without macro.
* params.opt: Add ranges for modulo scheduler parameters,
set param_sms_max_ii_factor = 2 by default.

From-SVN: r279376
gcc/ChangeLog
gcc/modulo-sched.c
gcc/params.opt