diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-21 20:34:43 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-21 20:34:43 +0000 |
commit | 99caba0fadc1a32a65b64a49df1704d39957bf6e (patch) | |
tree | 5732b65d4f290578782bc61fdb3bd2b831e92877 /gcc/reg-notes.def | |
parent | dbc0e719c48d0b5b119ea83326c53e769e21d3f7 (diff) | |
download | gcc-99caba0fadc1a32a65b64a49df1704d39957bf6e.tar.gz |
* reg-notes.def (REG_DEP_TRUE): New entry, place first so it
gets value 0.
* print-rtl.c (print_rtx): Print the name of a REG_NOTE even
if it has value 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87821 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-notes.def')
-rw-r--r-- | gcc/reg-notes.def | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def index 8032516bef6..85a122f6532 100644 --- a/gcc/reg-notes.def +++ b/gcc/reg-notes.def @@ -26,6 +26,12 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* Shorthand. */ #define REG_NOTE(NAME) DEF_REG_NOTE (REG_##NAME) +/* REG_DEP_TRUE is used in LOG_LINKS to represent a read-after-write + dependency (i.e. a true data dependency). This is here, not + grouped with REG_DEP_ANTI and REG_DEP_OUTPUT, because some passes + use a literal 0 for it. */ +REG_NOTE (DEP_TRUE) + /* The value in REG dies in this insn (i.e., it is not needed past this insn). If REG is set in this insn, the REG_DEAD note may, but need not, be omitted. */ @@ -92,9 +98,7 @@ REG_NOTE (CC_USER) REG_NOTE (LABEL) /* REG_DEP_ANTI and REG_DEP_OUTPUT are used in LOG_LINKS to represent - write-after-read and write-after-write dependencies respectively. - Data dependencies, which are the only type of LOG_LINK created by - flow, are represented by a 0 reg note kind. */ + write-after-read and write-after-write dependencies respectively. */ REG_NOTE (DEP_ANTI) REG_NOTE (DEP_OUTPUT) |