regrename.h (regrename_do_replace): Change to return bool.
authorChung-Lin Tang <cltang@codesourcery.com>
Sun, 28 Jun 2015 20:46:01 +0000 (20:46 +0000)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sun, 28 Jun 2015 20:46:01 +0000 (16:46 -0400)
commit17369fbf51df42a766494aeee16b3c74a331ae4d
tree376b7bd32f48b41a9ab62d24a7d1a92fbe4e6588
parent2aee355b5a77c60e3c43294ee9469a35a5b95a9c
regrename.h (regrename_do_replace): Change to return bool.

2015-06-28  Chung-Lin Tang <cltang@codesourcery.com>
    Sandra Loosemore <sandra@codesourcery.com>

gcc/
* regrename.h (regrename_do_replace): Change to return bool.
* regrename.c (rename_chains): Check return value of
regname_do_replace.
(regrename_do_replace): Re-validate the modified insns and
return bool status.
* config/aarch64/cortex-a57-fma-steering.c (rename_single_chain):
Update to match rename_chains changes.
* config/c6x/c6x.c (try_rename_operands): Assert that
regrename_do_replace returns true.

Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r225106
gcc/ChangeLog
gcc/config/aarch64/cortex-a57-fma-steering.c
gcc/config/c6x/c6x.c
gcc/regrename.c
gcc/regrename.h