This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Make tree-ssa-pre FRE/PRE handle load after store


On 9/6/05, Steven Bosscher <stevenb@suse.de> wrote:
> On Tuesday 06 September 2005 19:20, Steven Bosscher wrote:
> > Hi,
> >
> > This patch allows the FRE and PRE passes in tree-ssa-pre.c to
> > look through loads.  This should subsume the things DOM does
> > with create_artificial_load_stmt, which I hope to remove.
> >
> > It also makes DOM iterate a bit less often in a few cases.
> >
> > Bootstrapped&tested on x86_64-unknown-linux-gnu.  OK?

Where do you make sure you don't remove a trapping load?  Answer:
we would have had a trapping store in this case - but is it true we can
kill a trapping load in this case?  Like from a volatile variable?

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]