aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-12-14 08:25:58 +0000
committerCraig Topper <craig.topper@intel.com>2017-12-14 08:25:58 +0000
commiteab2d4665fdb6a28664c6936d58adc6b35796db1 (patch)
tree231e6e3bab5b6b848067ff49d9ee3607931da46b /llvm/lib/CodeGen/MachineOperand.cpp
parent271a5c72a0f43f8da540800dba016f5d1337c997 (diff)
downloadllvm-eab2d4665fdb6a28664c6936d58adc6b35796db1.zip
llvm-eab2d4665fdb6a28664c6936d58adc6b35796db1.tar.gz
llvm-eab2d4665fdb6a28664c6936d58adc6b35796db1.tar.bz2
[SelectionDAG][X86] Improve legalization of v32i1 CONCAT_VECTORS of v16i1 for AVX512F.
A v32i1 CONCAT_VECTORS of v16i1 uses promotion to v32i8 to legalize the v32i1. This results in a bunch of extract_vector_elts and a build_vector that ultimately gets scalarized. This patch checks to see if v16i8 is legal and inserts a any_extend to that so that we can concat v16i8 to v32i8 and avoid creating the extracts. llvm-svn: 320674
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions