diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-13 15:15:48 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-13 15:15:48 +0000 |
commit | fcf57fc28d0c99d26535462b5f9677a5c51e0822 (patch) | |
tree | 2e568869789bf7bb37e7fd66cd8f855c3cf9df25 /gcc/tree-ssa-dom.c | |
parent | 8c7f03533e6eb52879ce7d2c247d047ac5fc2572 (diff) | |
download | gcc-fcf57fc28d0c99d26535462b5f9677a5c51e0822.tar.gz |
* 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
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |