mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 09:44:54 +08:00
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:
parent
b0a3412c46
commit
760e8e420f
@ -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
|
||||
|
11
gcc/loop.h
11
gcc/loop.h
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user