]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/10474 (shrink wrapping for functions)
authorMartin Jambor <mjambor@suse.cz>
Wed, 30 Oct 2013 12:01:46 +0000 (13:01 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 30 Oct 2013 12:01:46 +0000 (13:01 +0100)
commiteb1474c1a25d8fe785d0bec71df099496a6e49b0
treeba0ed341c5acf6d9800c3b276fccdedb22ee7e02
parent55ebf587382e3e1a41b9c1705a74e4a1ed6acae5
re PR rtl-optimization/10474 (shrink wrapping for functions)

2013-10-30  Martin Jambor  <mjambor@suse.cz>

PR rtl-optimization/10474
* ira.c (find_moveable_pseudos): Do not calculate dominance info
nor df analysis.
(interesting_dest_for_shprep): New function.
(split_live_ranges_for_shrink_wrap): Likewise.
(ira): Calculate dominance info and df analysis. Call
split_live_ranges_for_shrink_wrap.

testsuite/
* gcc.dg/pr10474.c: New testcase.
* gcc.dg/ira-shrinkwrap-prep-1.c: Likewise.
* gcc.dg/ira-shrinkwrap-prep-2.c: Likewise.

From-SVN: r204205
gcc/ChangeLog
gcc/ira.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/ira-shrinkwrap-prep-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr10474.c [new file with mode: 0644]