Alex Coplan <alex.cop...@arm.com> writes:
> This extends the scan-ltrans-tree* helpers to create RTL variants.  This
> is needed to check the behaviour of an RTL pass under LTO.
>
> In particular it's used by a later patch in the series to check that
> RTL unrolling is applied under LTO.
>
> Tested as a series on aarch64-linux-gnu, OK for trunk?
>
> gcc/ChangeLog:
>
>       PR libstdc++/116140
>       * doc/sourcebuild.texi: Document ltrans-rtl value of kind for
>       scan-<kind>-dump*.
>
> gcc/testsuite/ChangeLog:
>
>       PR libstdc++/116140
>       * lib/scanltranstree.exp (scan-ltrans-rtl-dump): New.
>       (scan-ltrans-rtl-dump-times): New.
>       (scan-ltrans-rtl-dump-not): New.
>       (scan-ltrans-rtl-dump-dem): New.
>       (scan-ltrans-rtl-dump-dem-not): New.
> ---
>  gcc/doc/sourcebuild.texi             |   4 +-
>  gcc/testsuite/lib/scanltranstree.exp | 123 +++++++++++++++++++++++++++
>  2 files changed, 125 insertions(+), 2 deletions(-)

FTR: I've just posted:

  https://gcc.gnu.org/pipermail/gcc-patches/2024-August/660523.html

in an attempt to make this patch simpler.  (In the end, that seemed easier
than trying to review whether all the manual updates were correct. :))

Thanks,
Richard

Reply via email to