Re: [s390] Split out pre-prologue rewrite into separate pass

2014-02-07 Thread Andreas Krebbel
On 04/02/14 12:14, Richard Sandiford wrote: > s390_emit_prologue performs some optimisations on the function before > emitting the prologue. It also rewrites constant pool accesses to make > the base register explicit. > > Doing this in the prologue pattern makes the interaction with direct > ret

[s390] Split out pre-prologue rewrite into separate pass

2014-02-04 Thread Richard Sandiford
s390_emit_prologue performs some optimisations on the function before emitting the prologue. It also rewrites constant pool accesses to make the base register explicit. Doing this in the prologue pattern makes the interaction with direct returns and simple_returns less obvious, so this patch spli