diff options
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r-- | gcc/hard-reg-set.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index d5fc417..42a85a1 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -765,9 +765,9 @@ extern struct target_hard_regs *this_target_hard_regs; extern const char * reg_class_names[]; -/* Given a hard REGN a FROM mode and a TO mode, return nonzero if - REGN cannot change modes between the specified modes. */ -#define REG_CANNOT_CHANGE_MODE_P(REGN, FROM, TO) \ - CANNOT_CHANGE_MODE_CLASS (FROM, TO, REGNO_REG_CLASS (REGN)) +/* Given a hard REGN a FROM mode and a TO mode, return true if + REGN can change from mode FROM to mode TO. */ +#define REG_CAN_CHANGE_MODE_P(REGN, FROM, TO) \ + (targetm.can_change_mode_class (FROM, TO, REGNO_REG_CLASS (REGN))) #endif /* ! GCC_HARD_REG_SET_H */ |