[RFC] Kill gen_sequence

Alexandre Oliva aoliva@redhat.com
Thu Jun 6 21:38:00 GMT 2002

On Jun  6, 2002, "David S. Miller" <davem@redhat.com> wrote:

> One minor piece of lossage results from this patch.  Basically
> splitters are no longer allowed to emit no instructions, they have to
> emit some RTL.  The reason for this is that now that all of the
> generators return an INSN list, there is no easy way to distinguish
> between "no splitter matched" and "splitter matched but no insns
> emitted".

Without having looked at the code, I wonder if we could use a global,
constant structure (say (const_int 0) or a unique (sequence []) to
tell unmatched splitters from ones that emit an empty sequence.

Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

More information about the Gcc-patches mailing list