[X86,AVX-512] Use INSERT_SUBREG instead of SUBREG_TO_REG when the input is not the...
authorCraig Topper <craig.topper@gmail.com>
Mon, 19 Sep 2016 02:53:43 +0000 (02:53 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 19 Sep 2016 02:53:43 +0000 (02:53 +0000)
commit61403201ea053f59cd025a4330329f44941c1b4b
treef1a3d9d5c55b76aa0b5e40cfbee4c7599a30a047
parentb3b5033179054af91525a4f5f5ceb7149178ad73
[X86,AVX-512] Use INSERT_SUBREG instead of SUBREG_TO_REG when the input is not the output of an instruction.

SUBREG_TO_REG is supposed to indicate that the super register has been zeroed, but we can't prove that if we don't know where it came from.

llvm-svn: 281885
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/test/CodeGen/X86/avx512-fsel.ll
llvm/test/CodeGen/X86/avx512-intrinsics.ll
llvm/test/CodeGen/X86/avx512bwvl-intrinsics.ll
llvm/test/CodeGen/X86/avx512dq-intrinsics.ll
llvm/test/CodeGen/X86/avx512vl-intrinsics.ll
llvm/test/CodeGen/X86/pr27591.ll