diff options
author | Jeff Law <law@redhat.com> | 2018-01-04 11:54:02 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2018-01-04 11:54:02 -0700 |
commit | 682820ccf9880204310cef67a7bfb2f9923bb702 (patch) | |
tree | 20da3a50985c9e5ab37b524122fe8bb8678b0a15 /gcc/tree-ssa-math-opts.c | |
parent | 904c09f4531f7c7c04ee867e53ffa4f2cf7ed131 (diff) | |
download | gcc-682820ccf9880204310cef67a7bfb2f9923bb702.zip gcc-682820ccf9880204310cef67a7bfb2f9923bb702.tar.gz gcc-682820ccf9880204310cef67a7bfb2f9923bb702.tar.bz2 |
tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove redundant test in assertion.
* tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove
redundant test in assertion.
From-SVN: r256260
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
-rw-r--r-- | gcc/tree-ssa-math-opts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 9098188..ea880c7 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -544,8 +544,7 @@ execute_cse_reciprocals_1 (gimple_stmt_iterator *def_gsi, tree def) int square_recip_count = 0; int sqrt_recip_count = 0; - gcc_assert (FLOAT_TYPE_P (TREE_TYPE (def)) && is_gimple_reg (def) - && TREE_CODE (def) == SSA_NAME); + gcc_assert (FLOAT_TYPE_P (TREE_TYPE (def)) && TREE_CODE (def) == SSA_NAME); threshold = targetm.min_divisions_for_recip_mul (TYPE_MODE (TREE_TYPE (def))); /* If DEF is a square (x * x), count the number of divisions by x. |