[Bug middle-end/68542] [6 Regression] 10% 481.wrf performance regression
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Aug 27 22:01:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68542
--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Sat Aug 27 22:00:17 2016
New Revision: 239798
URL: https://gcc.gnu.org/viewcvs?rev=239798&root=gcc&view=rev
Log:
Fix folding of VECTOR_CST comparisons
gcc/ChangeLog:
PR tree-optimization/71077
PR tree-optimization/68542
* fold-const.c (fold_relational_const): Fix folding of
VECTOR_CST comparisons that have a scalar boolean result type.
(selftest::test_vector_folding): New static function.
(selftest::fold_const_c_tests): Call it.
gcc/testsuite/ChangeLog:
PR tree-optimization/71077
* gcc.target/i386/pr71077.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr71077.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list