diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2014-12-05 18:36:57 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2014-12-05 18:36:57 +0000 |
commit | 63edbb04b27db1e230d536ad5a07e7cebd6a5ed7 (patch) | |
tree | 4445a1a13ee2c2dc663ead126b3330874b434e75 /gcc/config/c6x | |
parent | fda3e2851e6f415354eb4045d288d3e91c4aa1ec (diff) | |
download | gcc-63edbb04b27db1e230d536ad5a07e7cebd6a5ed7.zip gcc-63edbb04b27db1e230d536ad5a07e7cebd6a5ed7.tar.gz gcc-63edbb04b27db1e230d536ad5a07e7cebd6a5ed7.tar.bz2 |
regrename.c (find_best_rename_reg): Rename to ...
2014-12-05 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
* regrename.c (find_best_rename_reg): Rename to ...
(find_rename_reg): This. Also add a parameter to skip tick check.
* regrename.h: Likewise.
* config/c6x/c6x.c (try_rename_operands): Adapt to above renaming.
From-SVN: r218434
Diffstat (limited to 'gcc/config/c6x')
-rw-r--r-- | gcc/config/c6x/c6x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c index 06319d0..9d2415a 100644 --- a/gcc/config/c6x/c6x.c +++ b/gcc/config/c6x/c6x.c @@ -3513,7 +3513,8 @@ try_rename_operands (rtx_insn *head, rtx_insn *tail, unit_req_table reqs, COMPL_HARD_REG_SET (unavailable, reg_class_contents[(int) super_class]); old_reg = this_head->regno; - best_reg = find_best_rename_reg (this_head, super_class, &unavailable, old_reg); + best_reg = + find_rename_reg (this_head, super_class, &unavailable, old_reg, true); regrename_do_replace (this_head, best_reg); |