From: Steven Bosscher Date: Thu, 10 Jan 2008 16:29:59 +0000 (+0000) Subject: tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the first... X-Git-Tag: releases/gcc-4.3.0~669 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71ae85578b806e93eb8fbd58bfe618c5901b52aa;p=thirdparty%2Fgcc.git tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the first in the struct. 2008-01-10 Steven Bosscher * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed field (valnum) the first in the struct. Replace bools with unit bit fields. From-SVN: r131444 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc61c7050ba3..6acc84421a91 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-01-10 Steven Bosscher + + * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed + field (valnum) the first in the struct. Replace bools with + unit bit fields. + 2008-01-10 Richard Guenther PR tree-optimization/34651 diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h index f434e95f276d..1f8f83b494c7 100644 --- a/gcc/tree-ssa-sccvn.h +++ b/gcc/tree-ssa-sccvn.h @@ -26,23 +26,24 @@ extern tree VN_TOP; typedef struct vn_ssa_aux { - /* SCC information. */ - unsigned int dfsnum; - bool visited; - unsigned int low; - bool on_sccstack; - /* Value number. This may be an SSA name or a constant. */ tree valnum; /* Representative expression, if not a direct constant. */ tree expr; + + /* SCC information. */ + unsigned int dfsnum; + unsigned int low; + unsigned visited : 1; + unsigned on_sccstack : 1; + /* Whether the representative expression contains constants. */ - bool has_constants; + unsigned has_constants : 1; /* Whether the SSA_NAME has been value numbered already. This is only saying whether visit_use has been called on it at least once. It cannot be used to avoid visitation for SSA_NAME's involved in non-singleton SCC's. */ - bool use_processed; + unsigned use_processed : 1; } *vn_ssa_aux_t; /* Return the value numbering info for an SSA_NAME. */