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