[Bug rtl-optimization/78120] [6/7 Regression] If conversion no longer performed
bernds at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 24 12:26:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78120
--- Comment #12 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Author: bernds
Date: Thu Nov 24 12:22:16 2016
New Revision: 242834
URL: https://gcc.gnu.org/viewcvs?rev=242834&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr78120.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ifcvt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list