* gimple-ssa-strength-reduction.c
(find_candidates_dom_walker::before_doom_children): Use a
type and not a mode check.
From-SVN: r251753
+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
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;