diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-23 09:34:46 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-23 09:34:46 +0000 |
commit | 442cf14550f48b8610c08293757dbb0f09fd0062 (patch) | |
tree | eb96d46ea128145da9820a137b39b70dcb5a20d4 /config | |
parent | 3a8cd7be492fb98cb25b6a7b09585dc1b05f4cff (diff) | |
download | gcc-442cf14550f48b8610c08293757dbb0f09fd0062.tar.gz |
2009-10-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/41778
* tree-ssa-pre.c (do_regular_insertion): Only insert if a
redundancy along a path in the CFG we want to optimize for speed
is going to be removed.
(execute_pre): Do partial-PRE only if the function is to be
optimized for speed.
(gate_pre): Do not turn off all of PRE when not optimizing a
function for speed.
* gcc.dg/tree-ssa/ssa-pre-26.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions