This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR34263: Cleaning up latch blocks (re-submission)


Hello,

I integrated your comments in the attached patch and added a testcase.
The patch was tested (bootstrap and regtest) with -O2 on ppc64-linux
and x86_64-linux (including the new testcase).

OK for mainline?

Thanks,
Revital


2007-12-17  Andrew Pinski  <andrew_pinski@playstation.sony.com>
            Mircea Namolaru  <namolaru@il.ibm.com>
            Vladimir Yanovsky  <yanov@il.ibm.com>>

        PR tree-optimization/34263
        * tree-outof-ssa.c (process_single_block_loop_latch,.
        contains_tree_r): New functions.
        (analyze_edges_for_bb): Call process_single_block_loop_latch
        function to empty single-basic-block latch block if possible..

testsuite:

        PR tree-optimization/34263
        * gcc.dg/pr34263.c:  New testcase.

(See attached file: patch_cleanup_latch_17_12.txt)(See attached file:
pr34263.c.txt)

Attachment: patch_cleanup_latch_17_12.txt
Description: Text document

Attachment: pr34263.c.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]