diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2022-10-20 10:37:35 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2022-10-20 10:37:35 +0100 |
commit | df99e9e42094dee0833ac38f53e7fae09b4d133c (patch) | |
tree | bcbfa9c67f1a07049db1e8fb464bffcb067df060 /libobjc/configure | |
parent | 7bca7218ac92b8f842d93dd672385c2ba0f8faf9 (diff) | |
download | gcc-df99e9e42094dee0833ac38f53e7fae09b4d133c.zip gcc-df99e9e42094dee0833ac38f53e7fae09b4d133c.tar.gz gcc-df99e9e42094dee0833ac38f53e7fae09b4d133c.tar.bz2 |
aarch64: Commonise some folding code
Add an aarch64_sve::gimple_folder helper for folding calls
to integer constants. SME will make more use of this.
gcc/
* config/aarch64/aarch64-sve-builtins.h
(gimple_folder::fold_to_cstu): New member function.
* config/aarch64/aarch64-sve-builtins.cc
(gimple_folder::fold_to_cstu): Define.
* config/aarch64/aarch64-sve-builtins-base.cc
(svcnt_bhwd_impl::fold): Use it.
Diffstat (limited to 'libobjc/configure')
0 files changed, 0 insertions, 0 deletions