aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.ibm.com>2021-09-16 14:52:42 -0500
committerBill Schmidt <wschmidt@linux.ibm.com>2021-09-16 15:36:00 -0500
commit93b5a667100caa40ecd10f54c0fcdac04f3bc0d7 (patch)
tree0b28c4e1a58c5901e64a692dee5c323d8f23869a /gcc/combine.c
parent2e2e65a46d2674bed53afd211493876ee2b79453 (diff)
downloadgcc-93b5a667100caa40ecd10f54c0fcdac04f3bc0d7.zip
gcc-93b5a667100caa40ecd10f54c0fcdac04f3bc0d7.tar.gz
gcc-93b5a667100caa40ecd10f54c0fcdac04f3bc0d7.tar.bz2
rs6000: Handle overloads during program parsing
Although this patch looks quite large, the changes are fairly minimal. Most of it is duplicating the large function that does the overload resolution using the automatically generated data structures instead of the old hand-generated ones. This doesn't make the patch terribly easy to review, unfortunately. Just be aware that generally we aren't changing the logic and functionality of overload handling. 2021-09-16 Bill Schmidt <wschmidt@linux.ibm.com> gcc/ * config/rs6000/rs6000-c.c (rs6000-builtins.h): New include. (altivec_resolve_new_overloaded_builtin): New forward decl. (rs6000_new_builtin_type_compatible): New function. (altivec_resolve_overloaded_builtin): Call altivec_resolve_new_overloaded_builtin. (altivec_build_new_resolved_builtin): New function. (altivec_resolve_new_overloaded_builtin): Likewise. * config/rs6000/rs6000-call.c (rs6000_new_builtin_is_supported): Likewise. * config/rs6000/rs6000-gen-builtins.c (write_decls): Remove _p from name of rs6000_new_builtin_is_supported.
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions