diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-28 04:40:43 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-28 04:40:43 +0000 |
commit | e239bb250565467eea446a8936111ae5ea92db54 (patch) | |
tree | ad5b2448444be5d3dadb3b6d14c30c830cc05982 /gcc/regrename.c | |
parent | 935161118c5963de2ce4920b22cde5ba7a43f89d (diff) | |
download | gcc-e239bb250565467eea446a8936111ae5ea92db54.tar.gz |
add default for HARD_REGNO_RENAME_OK
gcc/ChangeLog:
2015-04-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* defaults.h (HARD_REGNO_RENAME_OK): Add default definition to
true.
* regrename.c (check_new_reg_p): Remove check if
HARD_REGNO_RENAME_OK is defined.
* sel-sched.c (sel_hard_regno_rename_ok): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r-- | gcc/regrename.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/regrename.c b/gcc/regrename.c index 147aaa89e4e..d45ad0a568a 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -333,10 +333,7 @@ check_new_reg_p (int reg ATTRIBUTE_UNUSED, int new_reg, || (crtl->is_leaf && !LEAF_REGISTERS[new_reg + i]) #endif -#ifdef HARD_REGNO_RENAME_OK - || ! HARD_REGNO_RENAME_OK (reg + i, new_reg + i) -#endif - ) + || ! HARD_REGNO_RENAME_OK (reg + i, new_reg + i)) return false; /* See whether it accepts all modes that occur in |