Commit 3886f1d0 by Andreas Krebbel Committed by Andreas Krebbel

tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand with the mode of the…

tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand with the mode of the original operand instead of integer_one_node.

2007-07-24  Andreas Krebbel  <krebbel1@de.ibm.com>

	* tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand
	with the mode of the original operand instead of
	integer_one_node.

From-SVN: r126876
parent aedfac0e
2007-07-24 Andreas Krebbel <krebbel1@de.ibm.com>
* tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand
with the mode of the original operand instead of
integer_one_node.
2007-07-23 Jan Hubicka <jH@suse.cz> 2007-07-23 Jan Hubicka <jH@suse.cz>
* i386.c (ix86_secondary_memory_needed): Break out to... * i386.c (ix86_secondary_memory_needed): Break out to...
......
...@@ -313,9 +313,9 @@ ifcombine_ifandif (basic_block inner_cond_bb, basic_block outer_cond_bb) ...@@ -313,9 +313,9 @@ ifcombine_ifandif (basic_block inner_cond_bb, basic_block outer_cond_bb)
/* Do it. */ /* Do it. */
bsi = bsi_for_stmt (inner_cond); bsi = bsi_for_stmt (inner_cond);
t = fold_build2 (LSHIFT_EXPR, TREE_TYPE (name1), t = fold_build2 (LSHIFT_EXPR, TREE_TYPE (name1),
integer_one_node, bit1); build_int_cst (TREE_TYPE (name1), 1), bit1);
t2 = fold_build2 (LSHIFT_EXPR, TREE_TYPE (name1), t2 = fold_build2 (LSHIFT_EXPR, TREE_TYPE (name1),
integer_one_node, bit2); build_int_cst (TREE_TYPE (name1), 1), bit2);
t = fold_build2 (BIT_IOR_EXPR, TREE_TYPE (name1), t, t2); t = fold_build2 (BIT_IOR_EXPR, TREE_TYPE (name1), t, t2);
t = force_gimple_operand_bsi (&bsi, t, true, NULL_TREE, t = force_gimple_operand_bsi (&bsi, t, true, NULL_TREE,
true, BSI_SAME_STMT); true, BSI_SAME_STMT);
......
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