aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-08-16 10:49:59 +0930
committerAlan Modra <amodra@gcc.gnu.org>2017-08-16 10:49:59 +0930
commitbce59dcb63e2a675a387ea3150f340b609552354 (patch)
tree09984e7216cfd35479100de77d8de4cc6edaedf1 /gcc/fold-const.c
parent973d3f1905307988ba17a4f93d9a95518b91fe42 (diff)
downloadgcc-bce59dcb63e2a675a387ea3150f340b609552354.zip
gcc-bce59dcb63e2a675a387ea3150f340b609552354.tar.gz
gcc-bce59dcb63e2a675a387ea3150f340b609552354.tar.bz2
[RS6000] Merge rs6000_reg_live_or_pic_offset_p into save_reg_p
rs6000_reg_live_or_pic_offset_p is just save_reg_p with special handling for the pic register and eh_return. This merge also simplifies the eh_return handling. The intent of https://gcc.gnu.org/ml/gcc-patches/2010-09/msg01838.html was to say the PIC reg needed to be saved for eh_return, not all gprs. Of course, it doesn't hurt to say all gprs need to be saved for eh_return as that is what the target-independent code does by setting DF live, but it's unnecessary in the backend. * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Merge.. (save_reg_p): ..into this. Update all callers. (first_reg_to_save): Simplify. From-SVN: r251115
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions