loop.h (REGNO_FIRST_LUID, [...]): Provide defaults for insns without luid.

* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
	for insns without luid.

From-SVN: r65354
This commit is contained in:
Zdenek Dvorak 2003-04-08 01:34:25 +02:00 committed by Zdenek Dvorak
parent b0a3412c46
commit 760e8e420f
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
for insns without luid.
2003-04-07 Glen Nakamura <glen@imodulo.com>
PR opt/8634

View File

@ -49,9 +49,14 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
(INSN_UID (INSN) < max_uid_for_loop ? uid_luid[INSN_UID (INSN)] \
: (abort (), -1))
#define REGNO_FIRST_LUID(REGNO) uid_luid[REGNO_FIRST_UID (REGNO)]
#define REGNO_LAST_LUID(REGNO) uid_luid[REGNO_LAST_UID (REGNO)]
#define REGNO_FIRST_LUID(REGNO) \
(REGNO_FIRST_UID (REGNO) < max_uid_for_loop \
? uid_luid[REGNO_FIRST_UID (REGNO)] \
: 0)
#define REGNO_LAST_LUID(REGNO) \
(REGNO_LAST_UID (REGNO) < max_uid_for_loop \
? uid_luid[REGNO_LAST_UID (REGNO)] \
: INT_MAX)
/* A "basic induction variable" or biv is a pseudo reg that is set
(within this loop) only by incrementing or decrementing it. */