mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
re PR tree-optimization/32681 (ice for legal C code with flags -ffast-math -O3 -ftree-vectorize)
PR tree-optimization/32681 * tree-if-conv.c (find_phi_replacement_condition): Use the condition saved in second_edge->aux when first_bb is a loop header. From-SVN: r126484
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2007-07-09 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR tree-optimization/32681
|
||||
* tree-if-conv.c (find_phi_replacement_condition): Use the condition
|
||||
saved in second_edge->aux when first_bb is a loop header.
|
||||
|
||||
2007-07-07 Anatoly Sokolov <aesok@post.ru>
|
||||
|
||||
PR target/31331
|
||||
|
||||
@@ -738,7 +738,7 @@ find_phi_replacement_condition (struct loop *loop,
|
||||
AND it with the incoming bb predicate. */
|
||||
if (second_edge->aux)
|
||||
*cond = build2 (TRUTH_AND_EXPR, boolean_type_node,
|
||||
*cond, first_edge->aux);
|
||||
*cond, second_edge->aux);
|
||||
|
||||
if (TREE_CODE (*cond) == TRUTH_NOT_EXPR)
|
||||
/* We can be smart here and choose inverted
|
||||
|
||||
Reference in New Issue
Block a user