Re: [patch] make gcse.c respect -fno-gcse-lm

2013-03-11 Thread Richard Biener
On Mon, Mar 11, 2013 at 12:17 AM, Steven Bosscher wrote: > Hello, > > RTL PRE has an option to disable load motion. This option works fine, > except that all analysis for load motion is still performed. > > This patch stops gcse.c from recording memory sets for -fno-gcse-lm, > and conservatively r

[patch] make gcse.c respect -fno-gcse-lm

2013-03-10 Thread Steven Bosscher
Hello, RTL PRE has an option to disable load motion. This option works fine, except that all analysis for load motion is still performed. This patch stops gcse.c from recording memory sets for -fno-gcse-lm, and conservatively returns true in oprs_unchanged_p for any MEM. Bootstrapped&tested on {