Pull the code to perform an INSERT_VECTOR_ELT in memory out into its own
authorNate Begeman <natebegeman@mac.com>
Fri, 25 Apr 2008 18:07:40 +0000 (18:07 +0000)
committerNate Begeman <natebegeman@mac.com>
Fri, 25 Apr 2008 18:07:40 +0000 (18:07 +0000)
commit6867991d541d08ca95d86841eca5f7c1d5096864
treee497420b5953576dad68d456ed5e86d831f76741
parentf380fbdd570e91a7e73c9cf04e5e723240f6e09f
Pull the code to perform an INSERT_VECTOR_ELT in memory out into its own
function, and then use it to fix a bug in SplitVectorOp that expected inserts
to always have constant insertion indices.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50273 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp