This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA][PR rtl-optimization/70263] Fix creation of new REG_EQUIV notes
- From: Jakub Jelinek <jakub at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: Jeff Law <law at redhat dot com>, Bernd Schmidt <bschmidt at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 18 Mar 2016 21:07:33 +0100
- Subject: Re: [RFA][PR rtl-optimization/70263] Fix creation of new REG_EQUIV notes
- Authentication-results: sourceware.org; auth=none
- References: <56EAEB54 dot 70105 at redhat dot com> <56EAF60A dot 4050906 at redhat dot com> <56EC5391 dot 70807 at redhat dot com> <56EC5403 dot 2090504 at redhat dot com> <56EC54ED dot 6070706 at redhat dot com> <1458331508 dot 9902 dot 55 dot camel at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Mar 18, 2016 at 04:05:08PM -0400, David Malcolm wrote:
> On Fri, 2016-03-18 at 13:20 -0600, Jeff Law wrote:
> > On 03/18/2016 01:16 PM, Bernd Schmidt wrote:
> > > On 03/18/2016 08:14 PM, Jeff Law wrote:
> > > > I also added a blurb to the dump file when we create these
> > > > equivalences
> > > > and included a test to verify the code fires. I verified it
> > > > fired on
> > > > x86 and x86-64. It may or may not fire on other targets, so I
> > > > left the
> > > > test in the i386 specific subdirectory.
> > >
> > > This is the sort of thing I'd want to do with rtl unit tests.
>
> Would you like an RTL frontend? (and something like a
> gcc/testsuite/rtl.dg/ )
That really shouldn't be hard, we already have RTL readers and RTL writers,
of course e.g. stuff where RTL refers to trees will be harder (or we could
just not fill it in).
Jakub