diff options
author | Richard Biener <rguenther@suse.de> | 2017-09-06 07:49:37 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-09-06 07:49:37 +0000 |
commit | 58565a2ec16925841c2a97aaa1ab8eff63bc6f3e (patch) | |
tree | 041d453e9649ae1104e44e356f22091d01fcaca3 /gcc/gimple-ssa-strength-reduction.c | |
parent | fb117b1c9139a31068b31417d7a65d0cdc9448ec (diff) | |
download | gcc-58565a2ec16925841c2a97aaa1ab8eff63bc6f3e.zip gcc-58565a2ec16925841c2a97aaa1ab8eff63bc6f3e.tar.gz gcc-58565a2ec16925841c2a97aaa1ab8eff63bc6f3e.tar.bz2 |
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
Diffstat (limited to 'gcc/gimple-ssa-strength-reduction.c')
-rw-r--r-- | gcc/gimple-ssa-strength-reduction.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c index 6e3e93d..1c20825 100644 --- a/gcc/gimple-ssa-strength-reduction.c +++ b/gcc/gimple-ssa-strength-reduction.c @@ -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; |