middle-end/104496 - fix vectorized_internal_fn_supported_p
authorRichard Biener <rguenther@suse.de>
Fri, 11 Feb 2022 09:27:20 +0000 (10:27 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 11 Feb 2022 10:28:25 +0000 (11:28 +0100)
commit72f8d228aff80ede554b1735533af7eb0bd4a912
treea623471d04026136860453f3e730d5149cafed65
parent18c8086d65f3d539e065ea7c97e3de6f3bbdf684
middle-end/104496 - fix vectorized_internal_fn_supported_p

This fixes vectorized_internal_fn_supported_p behavior when
facing vector types with an integer mode.

2022-02-11  Richard Biener  <rguenther@suse.de>

PR middle-end/104496
* internal-fn.cc (vectorized_internal_fn_supported_p):
Bail out for integer mode vector types.

* gcc.target/i386/pr104496.c: New testcase.
gcc/internal-fn.cc
gcc/testsuite/gcc.target/i386/pr104496.c [new file with mode: 0644]