tree-ssa-dom.c (record_equivalences_from_phis): Speed up by doing a pointer comparison.

* tree-ssa-dom.c (record_equivalences_from_phis): Speed up by
	doing a pointer comparison.

From-SVN: r92089
This commit is contained in:
Kazu Hirata 2004-12-13 15:15:48 +00:00 committed by Kazu Hirata
parent 273dfd213e
commit 073b8140d6
2 changed files with 6 additions and 1 deletions

View 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

View 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