aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorJennifer Schmitz <jschmitz@nvidia.com>2024-07-23 03:54:50 -0700
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:55 +0200
commita7095d8eca2a7c537854adc23344972712955993 (patch)
tree078ae74e2c12bbf0b76e7404bad71367c7b69681 /gcc/cp/tree.cc
parentf1ba0ee0f8eebf9c8e1006ef016c240df6d945fc (diff)
downloadgcc-a7095d8eca2a7c537854adc23344972712955993.zip
gcc-a7095d8eca2a7c537854adc23344972712955993.tar.gz
gcc-a7095d8eca2a7c537854adc23344972712955993.tar.bz2
SVE Intrinsics: Change return type of redirect_call to gcall.
As suggested in the review of https://gcc.gnu.org/pipermail/gcc-patches/2024-July/657474.html, this patch changes the return type of gimple_folder::redirect_call from gimple * to gcall *. The motivation for this is that so far, most callers of the function had been casting the result of the function to gcall. These call sites were updated. The patch was bootstrapped and regtested on aarch64-linux-gnu, no regression. OK for mainline? Signed-off-by: Jennifer Schmitz <jschmitz@nvidia.com> gcc/ * config/aarch64/aarch64-sve-builtins.cc (gimple_folder::redirect_call): Update return type. * config/aarch64/aarch64-sve-builtins.h: Likewise. * config/aarch64/aarch64-sve-builtins-sve2.cc (svqshl_impl::fold): Remove cast to gcall. (svrshl_impl::fold): Likewise.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions