]> granicus.if.org Git - llvm/commit
[AVX512] Don't create SHRUNKBLEND SDNodes for 512-bit vectors
authorCraig Topper <craig.topper@intel.com>
Wed, 23 Aug 2017 16:41:02 +0000 (16:41 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 23 Aug 2017 16:41:02 +0000 (16:41 +0000)
commit44f90d0a15736eb1d6988bd609b9b778747d73ed
tree08483e3813268e11f942e65fd6ff3284d61dd397
parent47b719dfa8e68fdf5513c659c861e2ba0efb5b89
[AVX512] Don't create SHRUNKBLEND SDNodes for 512-bit vectors

There are no 512-bit blend instructions so we shouldn't create SHRUNKBLEND for them.

On a side note, it looks like there may be a missed opportunity for constant folding TESTM when LHS and RHS are equal.

This fixes PR34139.

Differential Revision: https://reviews.llvm.org/D36992

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311572 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/pr34139.ll [new file with mode: 0644]