This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Adapt one fold-const optimization for vectors
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Oct 2012 08:05:13 +0100 (CET)
- Subject: Adapt one fold-const optimization for vectors
Hello,
one more optimization that needed help for vectors, it crashed on (x<y)<0.
Because of PR 55001, testcases are awkward to add (I could do a x86-only
one if needed).
bootstrap+testsuite.
2012-10-30 Marc Glisse <marc.glisse@inria.fr>
* fold-const.c (fold_binary_op_with_conditional_arg): Handle vectors.
(fold_binary_loc): call it for VEC_COND_EXPR.
--
Marc Glisse