From fcf57fc28d0c99d26535462b5f9677a5c51e0822 Mon Sep 17 00:00:00 2001 From: kazu Date: Mon, 13 Dec 2004 15:15:48 +0000 Subject: * tree-ssa-dom.c (record_equivalences_from_phis): Speed up by doing a pointer comparison. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92089 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-ssa-dom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-ssa-dom.c') diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 72ab570ddd4..def20d6539d 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -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 -- cgit v1.2.1