OSDN Git Service

[X86] Teach lower1BitVectorShuffle to recognize shuffles that are just filling upper...
authorCraig Topper <craig.topper@intel.com>
Fri, 9 Feb 2018 23:32:27 +0000 (23:32 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 9 Feb 2018 23:32:27 +0000 (23:32 +0000)
commit810572205c9702e0c42f76e68287e0d97273945a
tree2bdc7e5e0e2e0dbb325d32b68ddb2fe92975bfbd
parentcf46f9ffb97229db8cfc5c6c7cc852b830746440
[X86] Teach lower1BitVectorShuffle to recognize shuffles that are just filling upper elements with zero. Replace with insert_subvector.

There's still some extra kshifts in one of the modified test cases here, but hopefully that's only a DAG combine away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324782 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-mask-op.ll