re PR tree-optimization/50319 (if-conversion produces unvectorizable conditions)
authorRichard Guenther <rguenther@suse.de>
Wed, 7 Sep 2011 14:19:33 +0000 (14:19 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Sep 2011 14:19:33 +0000 (14:19 +0000)
commit747633c57415c7428ee311525ef7d2fc9d69a70d
tree1dfa5236dece7afabae0ffa53da6d85d6d5c2be2
parent723d95fe2b71f3bca4fbed6a1e4945d794f4698c
re PR tree-optimization/50319 (if-conversion produces unvectorizable conditions)

2011-09-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50319
* tree-if-conv.c (set_bb_predicate): Assert we only set
canonical predicates.
(add_to_predicate_list): Simplify.  Allow TRUTH_NOT_EXPR
around canonical predicates.
(predicate_bbs): Do not re-gimplify already canonical
predicates.  Properly unshare them though.
(find_phi_replacement_condition): Simplify.

From-SVN: r178638
gcc/ChangeLog
gcc/tree-if-conv.c