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: Compare-elim pass (was: Re: [PATCH] Fix PR 61225)


On Sat, Dec 06, 2014 at 09:28:57AM +0100, Uros Bizjak wrote:
> > That's already what it does though, did you mean the opposite?  Or did you
> > mean to write "combine" instead of "compare"?
> 
> The above should read "... that existing RTX *combine* pass be updated
> ...", thanks for pointing out!

Which target actually uses the [(operation) (set (cc) ...)] order in their
*.md patterns?  Even aarch64 and arm use the [(set (cc) ...) (operation)]
order that combine expects, I thought compare-elim was written for those
targets?  If the vast majority of mds use the order that combine expects,
I think it should be easier to adjust compare-elim.c and those few targets
that diverge.

	Jakub


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