diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2004-09-21 20:34:43 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-09-21 20:34:43 +0000 |
commit | 52c5701b4e38801ed913c8d65a154c99da34181c (patch) | |
tree | 5732b65d4f290578782bc61fdb3bd2b831e92877 /gcc/reg-notes.def | |
parent | 938806922d7f2bc14ccfb8a87aed2af4de529236 (diff) | |
download | gcc-52c5701b4e38801ed913c8d65a154c99da34181c.zip gcc-52c5701b4e38801ed913c8d65a154c99da34181c.tar.gz gcc-52c5701b4e38801ed913c8d65a154c99da34181c.tar.bz2 |
reg-notes.def (REG_DEP_TRUE): New entry, place first so it gets value 0.
* 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.
From-SVN: r87821
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 8032516..85a122f 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) |