This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix (?) load_kills_store
On Tue, 2003-07-08 at 11:20, Zdenek Dvorak wrote:
> can mem be inside STRICT_LOW_PART?
No, I guess not. That doesn't make any sense.
> what about this patch (completely untested)?
Yes, this looks reasonable to me. In load_kills_store, and in
store_killed_in_insn, the "if (after)" checks should instead be "if
(!after)". Otherwise it looks OK. You could simplify load_kills_store
a little. No need for the inner if statements, just directly return the
result of true_dependence/anti_dependence.
Jim