[Bug target/40730] redundant memory load

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 14 09:18:00 GMT 2009



------- Comment #5 from steven at gcc dot gnu dot org  2009-07-14 09:18 -------
As you said, try_crossjump_bb tries to find the same instruction sequence in
*all* predecessors of a basic block bb. Meaning that the load must have been
redundant even before cross jumping occurred.

If you are right, and this redundancy is not exposed until after register
allocation, then this may be another case that postreload-gcse should handle
(but probably does not).

There are a couple of bugs about the need for a more powerful postreload-gcse.
We should perhaps group them (in a meta-bug for example) and make a plan for a
fix...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40730



More information about the Gcc-bugs mailing list