OSDN Git Service

EXTRACT_VECTOR_ELT of an INSERT_VECTOR_ELT may have the same index, but the
authorBill Wendling <isanbard@gmail.com>
Fri, 30 Apr 2010 22:19:17 +0000 (22:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 30 Apr 2010 22:19:17 +0000 (22:19 +0000)
commitd71bb562758c417e91ab05424cea93264b35c67a
tree45a208c99f5a1a511814fc166891f4464656c55f
parentee40a166c3c428b218cfdfc53ff130c7573e3bba
EXTRACT_VECTOR_ELT of an INSERT_VECTOR_ELT may have the same index, but the
indexes could be of a different value type. Or not even using the same SDNode
for the constant (weird, I know). Compare the actual values instead of the
pointers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102791 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/X86/2010-04-30-VectorUnrollBug.ll [new file with mode: 0644]