diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-11-07 10:08:31 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-11-07 10:08:31 +0000 |
commit | db9bd5d5752356a71b1ce6986f30c164c39cf51d (patch) | |
tree | ec9ea09087c5f93cc1650b6838db331fe6529046 /gcc/ada/gcc-interface/utils.c | |
parent | 2556a032cc18bb71c85988967fed074528fb5030 (diff) | |
download | gcc-db9bd5d5752356a71b1ce6986f30c164c39cf51d.zip gcc-db9bd5d5752356a71b1ce6986f30c164c39cf51d.tar.gz gcc-db9bd5d5752356a71b1ce6986f30c164c39cf51d.tar.bz2 |
Move constant bitop and bswap folds to fold-const-call.c
The only folds left in builtins.c were for constants, so we can remove
the builtins.c handling entirely.
Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi.
gcc/
* builtins.c (fold_builtin_bitop, fold_builtin_bswap): Delete.
(fold_builtin_1): Don't call them.
* fold-const-call.c: Include tm.h.
(fold_const_call_ss): New variant for integer-to-integer folds.
(fold_const_call): Call it.
From-SVN: r229921
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions