Fix ICE in pass_rpad.
authorliuhongt <hongtao.liu@intel.com>
Sat, 18 Sep 2021 02:49:54 +0000 (10:49 +0800)
committerliuhongt <hongtao.liu@intel.com>
Sat, 18 Sep 2021 07:52:20 +0000 (15:52 +0800)
commite666a0a22a5c11b5bb894a75b73b6b7f3e364e4d
tree5050093cd353f0421a574ef31bccebfc5337d8bf
parente5597f2ad55219092929dc12ea15e1edba06df18
Fix ICE in pass_rpad.

Besides conversion instructions, pass_rpad also handles scalar
sqrt/rsqrt/rcp/round instructions, while r12-3614 should only want to
handle conversion instructions, so fix it.

gcc/ChangeLog:

* config/i386/i386-features.c (remove_partial_avx_dependency):
Restrict TARGET_USE_VECTOR_FP_CONVERTS and
TARGET_USE_VECTOR_CONVERTS to conversion instructions only.
gcc/config/i386/i386-features.c