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] |
See new revision -- moved the iv pos adjustment to be just before address use rewrite -- this eliminates the need to 1) do extra valid mem_ref check; and 2) to do the mem_ref fix up -- i.e., your second suggestion. Retested (together with patch-1). Regarding patch-3 (sinking) -- neither store sink nor scev_cprop are good for it -- store sinking pass does not al sinking out of loop (different loop nest) -- any naive enhancement may result in increased register pressure. scev_cprop does not handle multiple exit loops. I will hold this patch for now. Any feedback on patch-4? Thanks, David On Wed, Jun 2, 2010 at 1:56 PM, Zdenek Dvorak <rakdver@kam.mff.cuni.cz> wrote: > Hi, > >> > 1) you should check whether the new value of the offset is allowed for the >> > ? current architecture. >> >> What query should be used? It is not checked in maybe_fold_tmr call >> nor tmr creation in ivopts. > > valid_mem_ref_p > > Zdenek >
Attachment:
ivopts_latest_part4.p.r2
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |