mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-23 18:11:15 +08:00
tree-ssa-dom.c (record_equivalences_from_phis): Add a comment.
* tree-ssa-dom.c (record_equivalences_from_phis): Add a comment. From-SVN: r92091
This commit is contained in:
parent
098b96ab3d
commit
6e38fea3e4
@ -3,6 +3,9 @@
|
||||
* tree-ssa-dom.c (record_equivalences_from_phis): Speed up by
|
||||
doing a pointer comparison.
|
||||
|
||||
* tree-ssa-dom.c (record_equivalences_from_phis): Add a
|
||||
comment.
|
||||
|
||||
2004-12-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
|
||||
|
||||
* config/m32r/t-linux (SHLIB_MAPFILES): Add libgcc-glibc.ver to
|
||||
|
@ -1177,7 +1177,9 @@ record_equivalences_from_phis (basic_block bb)
|
||||
{
|
||||
tree t = PHI_ARG_DEF (phi, i);
|
||||
|
||||
/* Ignore alternatives which are the same as our LHS. */
|
||||
/* Ignore alternatives which are the same as our LHS. Since
|
||||
LHS is a PHI_RESULT, it is known to be a SSA_NAME, so we
|
||||
can simply compare pointers. */
|
||||
if (lhs == t)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user