INSERT_VECTOR_ELT lowering bug:
authorEvan Cheng <evan.cheng@apple.com>
Sat, 8 Apr 2006 01:46:37 +0000 (01:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 8 Apr 2006 01:46:37 +0000 (01:46 +0000)
commitf6bf87f2cc685d13d6a8fa37693425956b33a840
tree91e008e372cf521d92f84f3855ee266b89ba273a
parent4ebf331851f6ab6f907bbce451ef23b5ab66b736
INSERT_VECTOR_ELT lowering bug:
  store vector to $esp
  store element to $esp + sizeof(VT) * index
  load  vector from $esp
The bug is VT is the type of the vector element, not the type of the vector!

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