[testsuite] Add scan-offload-rtl-dump
authorTom de Vries <tom@codesourcery.com>
Wed, 19 Dec 2018 14:20:33 +0000 (14:20 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 19 Dec 2018 14:20:33 +0000 (14:20 +0000)
commit9b09e453c6884f2ea391dc70c188c159f0883150
tree49184fb196d89d04f65b2d7ac5a2fbcb9befdc9c
parentdc355223e465d3a2c090f34afd2ce965d20de199
[testsuite] Add scan-offload-rtl-dump

Add scan-offload-rtl-dump, similar to scan-offload-tree-dump.

Build and reg-tested on x86_64 with nvptx accelerator.

2018-12-19  Tom de Vries  <tom@codesourcery.com>

* lib/scanoffloadrtl.exp: New file.
* gcc.dg-selftests/dg-final.exp (dg_final_directive_check_num_args): Add
offload-rtl.

* doc/sourcebuild.texi (Commands for use in dg-final, Scan optimization
dump files): Add offload-rtl.

From-SVN: r267266
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg-selftests/dg-final.exp
gcc/testsuite/lib/scanoffloadrtl.exp [new file with mode: 0644]