This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
invalidate_mems_from_autoinc
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 3 Dec 2002 10:52:19 +0100
- Subject: invalidate_mems_from_autoinc
Hello,
I am currently working on cleaning up flow.c (splitting out log links
creation, pre/post modify transformation and other not stuff not
strictly related with liveness analysis). The code is kind of magic on
some places, so I will probably have a lot of questions during the time.
For now:
invalidate_mems_from_autoinc is used in this manner in mark_set_1 and
mark_used_regs:
if (insn && GET_CODE (reg) == MEM)
for_each_rtx (&PATTERN (insn), invalidate_mems_from_autoinc, pbi);
Is there some reason for passing through the whole insn for every MEM I
encounter? Would not either one call at top level, or (a bit better for
my purposes)
if (GET_CODE (reg) == MEM)
for_each_rtx (®, invalidate_mems_from_autoinc, pbi);
suffice?
Zdenek