On 11/02/2010 12:36 PM, Joern Rennecke wrote:
define_insn_and_split is little more than syntactic sugar to avoid re-typing the same patterns again.
Yes, on the other hand it was introduced as combiner-splitter patterns fell out of fashion, substantially replaced by what you call combiner bridge patterns.
peephole2 operates only after register allocation, and then it might be too late to fix up some pessimizations perpetrated by the machine-independent passes.
Agreed, that's why I recommended Georg against it. Paolo