On Fri, Apr 15, 2011 at 5:28 PM, Revital Eres <revital.e...@linaro.org> wrote: > Hello, > > The attached patch introduces a new flag to allow applying SMS when > stage count (SC) also equals 1. > Currently, SMS is applied only when SC greater than 1 as stage count > of 1 means that there is no interleaving between iterations and the > scheduling passes do the job in this case. > The new flag is introduced for debugging purposes to apply SMS > on more loops. > > Bootstrap and regtest on ppc64-redhat-linux. > > OK for mainline?
If it's for debugging, can you use a --parm instead (like modulo-sched-min-sc or similar)? Thanks, Richard. > Thanks, > Revital > > Changelog: > > * common.opt (fmodulo-sched-allow-sc-one): New flag. > * modulo-sched.c (sms_schedule): Allow SMS when stage count > equals one and -fmodulo-sched-allow-sc-one flag is set. >