Commit 58565a2e by Richard Biener Committed by Richard Biener

2017-09-06 Richard Biener <rguenther@suse.de>

	* gimple-ssa-strength-reduction.c
	(find_candidates_dom_walker::before_doom_children): Use a
	type and not a mode check.

From-SVN: r251753
parent fb117b1c
2017-09-06 Richard Biener <rguenther@suse.de>
* gimple-ssa-strength-reduction.c
(find_candidates_dom_walker::before_doom_children): Use a
type and not a mode check.
2017-09-06 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR target/77308
......
......@@ -1742,8 +1742,7 @@ find_candidates_dom_walker::before_dom_children (basic_block bb)
slsr_process_ref (gs);
else if (is_gimple_assign (gs)
&& SCALAR_INT_MODE_P
(TYPE_MODE (TREE_TYPE (gimple_assign_lhs (gs)))))
&& INTEGRAL_TYPE_P (TREE_TYPE (gimple_assign_lhs (gs))))
{
tree rhs1 = NULL_TREE, rhs2 = NULL_TREE;
......
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