aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-tool.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-11-16 08:32:24 +0100
committerJakub Jelinek <jakub@redhat.com>2023-11-16 08:32:24 +0100
commit9f35d8cd767155e9c24f5ef0944168711d38bc6b (patch)
tree84233632480a7dd5241fe2a60cbf4b44283ceb76 /gcc/gcov-tool.cc
parent31bf21c78029434b7515a94477ce3565bff0743f (diff)
downloadgcc-9f35d8cd767155e9c24f5ef0944168711d38bc6b.zip
gcc-9f35d8cd767155e9c24f5ef0944168711d38bc6b.tar.gz
gcc-9f35d8cd767155e9c24f5ef0944168711d38bc6b.tar.bz2
slp: Fix handling of IFN_CLZ/CTZ [PR112536]
We ICE on the following testcase now that IFN_C[LT]Z calls can have one or two arguments (where 2 mean it is well defined at zero). The following patch makes us create child node only for the first argument and compatible_calls_p ensures the other argument is the same, which at least according to the testcase seems sufficient because of vect patterns. 2023-11-16 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/112536 * tree-vect-slp.cc (arg0_map): New variable. (vect_get_operand_map): For IFN_CLZ or IFN_CTZ, return arg0_map. * gcc.dg/pr112536.c: New test.
Diffstat (limited to 'gcc/gcov-tool.cc')
0 files changed, 0 insertions, 0 deletions