This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 199/236] Introduce rtx_insn_list subclass of rtx_def
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Trevor Saunders <tsaunders at mozilla dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 07 Aug 2014 11:33:17 -0400
- Subject: Re: [PATCH 199/236] Introduce rtx_insn_list subclass of rtx_def
- Authentication-results: sourceware.org; auth=none
- References: <1407345815-14551-1-git-send-email-dmalcolm at redhat dot com> <1407345815-14551-200-git-send-email-dmalcolm at redhat dot com> <20140807012924 dot GA10077 at tsaunders-iceball dot corp dot tor1 dot mozilla dot com>
On Wed, 2014-08-06 at 21:29 -0400, Trevor Saunders wrote:
> On Wed, Aug 06, 2014 at 01:22:58PM -0400, David Malcolm wrote:
> > +class GTY(()) rtx_insn_list : public rtx_def
> > +{
> > + /* No extra fields, but adds invariant: (GET_CODE (X) == INSN_LIST).
>
> some nice future work would be to see if these can stop being rtxen at
> all and just have a insn and next pointer.
Or some other data structures; see
https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00825.html
for an example I tried. [I don't know if it's a *good* example
though :) ]