OSDN Git Service

* tree-ssa-dom.c (record_equivalences_from_phis): Speed up by
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Dec 2004 15:15:48 +0000 (15:15 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Dec 2004 15:15:48 +0000 (15:15 +0000)
doing a pointer comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92089 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 92b6190..6768b17 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-dom.c (record_equivalences_from_phis): Speed up by
+       doing a pointer comparison.
+
 2004-12-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
 
        * config/m32r/t-linux (SHLIB_MAPFILES): Add libgcc-glibc.ver to
index 72ab570..def20d6 100644 (file)
@@ -1178,7 +1178,7 @@ record_equivalences_from_phis (basic_block bb)
          tree t = PHI_ARG_DEF (phi, i);
 
          /* Ignore alternatives which are the same as our LHS.  */
-         if (operand_equal_for_phi_arg_p (lhs, t))
+         if (lhs == t)
            continue;
 
          /* If we have not processed an alternative yet, then set