[patch] Fix PR42771: Rename SESE parameters in all SCoPs after Graphite code gen

Sebastian Pop sebpop@gmail.com
Wed Feb 10 17:01:00 GMT 2010


Hi,

The attached patch fixes the order of detection/analysis/code-gen of
Graphite by first doing the SCoP detection and analysis for all the
SCoPs of the function, before starting the code generation.

As reported in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42771 this
used to pass after http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42521
was fixed: and then it started failing again after the fix for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42732 that did renamed the
loop number of iterations in between two SCOP code generations, but
did not renamed the parameters of the SESEs.  With the attached patch
we now also rename the tree expressions in the SESE parameters.

I committed the attached patch to the Graphite branch for further
test.  I will commit to trunk after it's regstrapped and passes the
SPEC 2k6 tests.

Sebastian Pop
--
AMD / Open Source Compiler Engineering / GNU Tools
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-PR42771.patch
Type: text/x-diff
Size: 10435 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100210/e2cccfd9/attachment.bin>


More information about the Gcc-patches mailing list