tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus left-over from last patch.
authorRichard Biener <rguenther@suse.de>
Thu, 12 Jul 2018 10:12:46 +0000 (10:12 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Jul 2018 10:12:46 +0000 (10:12 +0000)
2018-07-12  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus
left-over from last patch.

From-SVN: r262578

gcc/ChangeLog
gcc/tree-ssa-sccvn.c

index 415aca3..a401946 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-12  Richard Biener  <rguenther@suse.de>
+
+       * tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus
+       left-over from last patch.
+
 2018-07-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/86492
index de3531d..d779c66 100644 (file)
@@ -1669,17 +1669,8 @@ vn_lookup_simplify_result (gimple_match_op *res_op)
        ops[i] = CONSTRUCTOR_ELT (res_op->ops[0], i)->value;
     }
   vn_nary_op_t vnresult = NULL;
-  tree res = vn_nary_op_lookup_pieces (length, (tree_code) res_op->code,
-                                      res_op->type, ops, &vnresult);
-  if (res
-      && mprts_hook)
-    {
-      if (dump_file && (dump_flags & TDF_DETAILS))
-       fprintf (dump_file, "Resetting mprts_hook after too many "
-                "invocations.\n");
-      mprts_hook = NULL;
-    }
-  return res;
+  return vn_nary_op_lookup_pieces (length, (tree_code) res_op->code,
+                                  res_op->type, ops, &vnresult);
 }
 
 /* Return a value-number for RCODE OPS... either by looking up an existing