[graphite] Extend the refined region tree print function

Sebastian Pop sebpop@gmail.com
Sat Jun 26 00:29:00 GMT 2010


On Fri, Jun 25, 2010 at 16:33, Vladimir Kargov <kargov@gmail.com> wrote:
> Hello,
>
> I would like to submit the following patch to the Graphite branch. It
> makes possible to display the numbers of basic blocks included in
> regions of a refined region tree. This modification can be considered
> a small step towards the new SCoP detection mechanism used in
> Graphite.
>
> The patch successfully passed the bootstrap and the graphite-related tests.
>
> 2010-06-26  Vladimir Kargov  <kargov@gmail.com>
>
>        * gcc/refined-regions.c:
>        (get_bbs_in_region): New. A function that calculates basic blocks
>        constituting a specified region.
>        (print_bbs_in_region): Add a new argument that allows to print all
>        basic blocks contained in regions.
>        * gcc/refined-regions.h: Update function declarations.
>        * gcc/graphite-scop-detection.c: Print the refined region tree
>        into the Grahite dump file.
>

I committed the attached patch to the graphite branch.
Here is the correct form for the Changelog:

2010-06-25  Vladimir Kargov  <kargov@gmail.com>

	* refined-regions.c (bb_index_compare): New.
	(get_bbs_in_region): New.
	(print_bbs_in_region): New.
	(print_refined_region): Add an argument that allows to print
	all basic blocks contained in regions.
	(debug_refined_region): Update call to print_refined_region.
	* refined-regions.h (print_refined_region): Update declaration.
	(get_bbs_in_region): Declared.
	* graphite-scop-detection.c (build_scops_new): Print the refined
	region tree into the Grahite dump file.

Also please add -p to the diff that svn uses, see the instructions to
"Configure an external diff utility" here:
http://gcc.gnu.org/wiki/SvnSetup

Thanks,
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Print-bbs-in-refined-region-tree.patch
Type: text/x-patch
Size: 6786 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100626/0d890562/attachment.bin>


More information about the Gcc-patches mailing list