[AVX] Add INSERT_SUBVECTOR and support it on x86. This provides a
authorDavid Greene <greened@obbligato.org>
Wed, 26 Jan 2011 19:13:22 +0000 (19:13 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 26 Jan 2011 19:13:22 +0000 (19:13 +0000)
commitcfe33c46aa50f04adb0431243e7d25f79b719ac6
tree4167cf3b7974b329faec6d121f3d857842e23366
parentd2c9793bdf3fe621eee9330f9977be256301b5bf
[AVX] Add INSERT_SUBVECTOR and support it on x86.  This provides a
default implementation for x86, going through the stack in a similr
fashion to how the codegen implements BUILD_VECTOR.  Eventually this
will get matched to VINSERTF128 if AVX is available.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124307 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ISDOpcodes.h
include/llvm/Target/TargetSelectionDAG.td
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h