On 11/10/15 17:45, Ilya Verbin wrote:
I've been unable to introduce a testcase for this. The difficulty is we want
to check an rtl dump from the acceleration compiler, and there doesn't
appear to be existing machinery for that in the testsuite. Perhaps
something to be added later?
I haven't tried it, but doesn't
/* { dg-options "-foffload=-fdump-rtl-..." } */
with
/* { dg-final { scan-rtl-dump ... } } */
work?
in the gcc testsuite directories? That's the approach I was going for.
The issue is detecting when the test should be run. target==nvptx-*-* isn't
right, as the target is the x86 host machine. There doesn't seem to be an
existing dejagnu predicate there to select for 'accel_target==FOO'. Am I
missing something?
nathan