re PR target/84336 (ICE in extract_insn, at recog.c:2304)
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Feb 2018 08:31:58 +0000 (09:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Feb 2018 08:31:58 +0000 (09:31 +0100)
commitf4b29321048fa82c754f04814dbd46d92773e72a
tree1d7ccc86cd75afba3b61a57517cd4537d273af90
parent7b47686da37d266cfcc5f45cd44222737c12390a
re PR target/84336 (ICE in extract_insn, at recog.c:2304)

PR target/84336
* config/i386/sse.md (<avx512>_vpermi2var<mode>3_mask): Force
operands[2] into a REG before using gen_lowpart on it.

* gcc.target/i386/pr84336.c: New test.

From-SVN: r257616
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr84336.c [new file with mode: 0644]