On 02/05/2012 07:27 AM, Uros Bizjak wrote:
> Hello!
> 
> Attached patch enables post-reload compare optimization pass for x86 targets.

Hmm.  Well, the only thing that's going to work for x86 is the double-compare
elimination portion.

If we want to use this pass for x86, then for 4.8 we should also fix the
discrepancy between the compare-elim canonical

  [(operate)
   (set-cc)]

and the combine canonical

  [(set-cc)
   (operate)]

(Because of the simplicity of the substitution in compare-elim, I prefer
the former as the canonical canonical.)

And, really, we ought to come up with some trick to eliminate some of the
redundancy in patterns in the md file too.


r~

Reply via email to