Commit c8af1197 by Ira Rosen Committed by Ira Rosen

re PR tree-optimization/22526 (vectorizer produces mis-match types in conditionals)

        PR tree-optimization/22526
        * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type
        of the zero node.

From-SVN: r102332
parent 1b135aa5
2005-07-24 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/22526
* tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type
of the zero node.
2005-07-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins
......
......@@ -1142,7 +1142,8 @@ slpeel_tree_peel_loop_to_edge (struct loop *loop, struct loops *loops,
add_bb_to_loop (bb_before_second_loop, first_loop->outer);
pre_condition =
fold_build2 (LE_EXPR, boolean_type_node, first_niters, integer_zero_node);
fold_build2 (LE_EXPR, boolean_type_node, first_niters,
build_int_cst (TREE_TYPE (first_niters), 0));
skip_e = slpeel_add_loop_guard (bb_before_first_loop, pre_condition,
bb_before_second_loop, bb_before_first_loop);
slpeel_update_phi_nodes_for_guard1 (skip_e, first_loop,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment