This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52975] Ofast produces not optimized code for vectorized "converted if"
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Apr 2012 09:25:17 +0000
- Subject: [Bug tree-optimization/52975] Ofast produces not optimized code for vectorized "converted if"
- Auto-submitted: auto-generated
- References: <bug-52975-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52975
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-16 09:25:17 UTC ---
Author: rguenth
Date: Mon Apr 16 09:25:14 2012
New Revision: 186488
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186488
Log:
2012-04-16 Richard Guenther <rguenther@suse.de>
PR tree-optimization/52975
* tree-ssa-forwprop.c (combine_cond_exprs): New function.
(ssa_forward_propagate_and_combine): Call it for COND_EXPRs
and VEC_COND_EXPRs. Also combine into VEC_COND_EXPRs condition.
* fold-const.c (operand_equal_p): Handle TARGET_MEM_REF.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/tree-ssa-forwprop.c