[X86] Add test cases for suboptimal vselect+setcc splitting.
authorCraig Topper <craig.topper@intel.com>
Wed, 2 Oct 2019 22:35:03 +0000 (22:35 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 2 Oct 2019 22:35:03 +0000 (22:35 +0000)
commitf5bda7fe24edd21a7f3fc71129d1cca8fd277a1d
treeff3092d65a1615a36ef8a66f9277307b371dafda
parent2772b970e30ac2ca17b723f2e0bfac0dd0c99b80
[X86] Add test cases for suboptimal vselect+setcc splitting.

If the vselect result type needs to be split, it will try to
also try to split the condition if it happens to be a setcc.

With avx512 where k-registers are legal, its probably better
to just use a kshift to split the mask register.

llvm-svn: 373536
llvm/test/CodeGen/X86/avx512-vselect.ll
llvm/test/CodeGen/X86/min-legal-vector-width.ll