tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove redundant test in assertion.
authorJeff Law <law@redhat.com>
Thu, 4 Jan 2018 18:54:02 +0000 (11:54 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 4 Jan 2018 18:54:02 +0000 (11:54 -0700)
* tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove
redundant test in assertion.

From-SVN: r256260

gcc/ChangeLog
gcc/tree-ssa-math-opts.c

index d4321eb0312e22fa29134173cc8e30d2e56cda89..26d9210a1b362de48460d9d0eed59d4bfad1fade 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-04  Jeff Law  <law@redhat.com>
+
+       * tree-ssa-math-opts.c (execute_cse_reciprocals_1): Remove
+       redundant test in assertion.
+
 2018-01-04  Richard Sandiford  <richard.sandiford@linaro.org>
 
        * doc/rtl.texi: Document machine_mode wrapper classes.
index 9098188e9880b38f5115bc97389d071cf5c94629..ea880c7b1d8da2c2d82209228cca0a2a00051a5c 100644 (file)
@@ -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.