diff options
author | Bernd Schmidt <bernds@redhat.com> | 2016-11-24 12:22:16 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2016-11-24 12:22:16 +0000 |
commit | 2d8fec87b11ecfad75f8cae7910e60e1a61ec61b (patch) | |
tree | 0f02bf897ae9de96a80362cdfcc9efabee71f99e /gcc/tree-ssa-loop-ivcanon.c | |
parent | 334442f282a9d61723a0a0f299ba5ad7b00763b8 (diff) | |
download | gcc-2d8fec87b11ecfad75f8cae7910e60e1a61ec61b.zip gcc-2d8fec87b11ecfad75f8cae7910e60e1a61ec61b.tar.gz gcc-2d8fec87b11ecfad75f8cae7910e60e1a61ec61b.tar.bz2 |
re PR rtl-optimization/78120 (If conversion no longer performed)
PR rtl-optimization/78120
* ifcvt.c (noce_conversion_profitable_p): Check original cost in all
cases, and additionally test against max_seq_cost for speed
optimization.
(noce_process_if_block): Compute an estimate for the original cost when
optimizing for speed, using the minimum of then and else block costs.
testsuite/
PR rtl-optimization/78120
* gcc.target/i386/pr78120.c: New test.
From-SVN: r242834
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
0 files changed, 0 insertions, 0 deletions