On Fri, Jan 13, 2017 at 9:46 AM, Richard Biener <rguent...@suse.de> wrote: > > The following is an attempt to change those testcases to be less dependent > on previous passes. The original motivation of the testcases seems to be > testing SCEV capabilities and in turn IVOPTs decisions, thus the testcases > are changed to check the IVO dump, use the GIMPLE FE feeding the loop > pipeline directly and skip lowering/store-motion we meanwhile do to > the testcase. > > To avoid some existing issue with CFG construction after GIMPLE parsing > we need to be able to add GIMPLE_NOPs which the patch enables to generate > from empty stmts (previously those resulted in parse errors). > > Tested the testcases on x86_64 with {,-m32} sofar I'll appreciate > testing on more targets. I checked aarch64-elf/aarch64-linux with default configuration, all passed with this change.
Thanks, bin > > Full bootstrap / regtest running on x86_64-unknown-linux-gnu. > > Richard. > > - } > } > > -/* { dg-final { scan-tree-dump-times "&a" 1 "optimized" } } */ > +/* { dg-final { scan-tree-dump-times "&a" 1 "ivopts" } } */