]> granicus.if.org Git - llvm/commit
[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)
commita4a6122eaeb9ce339649ce984a5579d55f2c8b03
tree123e227b7197d1c6bba09c7652e96e7e8d446f9d
parentc73599fde257ea8edd289a45919b290b0a396614
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373536 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/avx512-vselect.ll
test/CodeGen/X86/min-legal-vector-width.ll