diff options
author | amonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-22 10:35:06 +0000 |
---|---|---|
committer | amonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-22 10:35:06 +0000 |
commit | 0cfef6c5572d909b1b2fcd28df32132a8dba1e0a (patch) | |
tree | e9e9c058158ad6ffd6c71ebc44e91416cfc12a90 /gcc/rtl.h | |
parent | 8fda32621c0fa3d39858a5fabe8ca5d7a17ee385 (diff) | |
download | gcc-0cfef6c5572d909b1b2fcd28df32132a8dba1e0a.tar.gz |
PR rtl-optimization/45652
* alias.c (get_reg_base_value): New.
* rtl.h (get_reg_base_value): Add prototype.
* sel-sched.c (init_regs_for_mode): Use it. Don't use registers with
non-null REG_BASE_VALUE for renaming.
testsuite:
* gcc.dg/pr45652.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167025 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index ab215d6ea48..d5a674898f3 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2510,6 +2510,7 @@ extern rtx find_base_term (rtx); extern rtx gen_hard_reg_clobber (enum machine_mode, unsigned int); extern rtx get_reg_known_value (unsigned int); extern bool get_reg_known_equiv_p (unsigned int); +extern rtx get_reg_base_value (unsigned int); #ifdef STACK_REGS extern int stack_regs_mentioned (const_rtx insn); |