[graphite] Fix PR38431: runtime test for CP2K

Sebastian Pop sebpop@gmail.com
Wed Jan 14 15:14:00 GMT 2009


Hi,

With this patch trunk compiles and passes all the run time tests of
CP2K.  The last error was that we were dropping the definition of a
memory partition tag that has no vdefs in the scop, and thus not
rewritten.  After code generation of the scop, the following PHI node
was generated:

    # MPT.1986_1463 = PHI <MPT.1986_914(D)(184), MPT.1986_477(185)>

with the edge 185 now pointing from dead code, eliminated later by the
CFG cleanup.  With this patch, the default definition MPT.1986_914(D)
is replaced by the definition before the scop.

I committed the attached patch to graphite branch.  The patch passed
regstrap on trunk with BOOT_CFLAGS="-g -O2 -fgraphite-identity
-floop-block" on amd64-linux.  Okay for trunk?

Thanks,
Sebastian Pop
--
AMD - GNU Tools
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1332_pr38431.diff
Type: text/x-patch
Size: 3482 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090114/4d231e06/attachment.bin>


More information about the Gcc-patches mailing list