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 415aca314b6c373b77f8aa8819831853ab91efef..a401946f83bfe0406ce749b25bd7e76024876a3a 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 de3531d4e0beb951eaa9b9edbf127a73686f6b5f..d779c66f6e0b8a8989c5238cb35777d5e3b498af 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