DAGCombiner should not change the type of an extract_vector index.
authorJim Grosbach <grosbach@apple.com>
Tue, 8 May 2012 20:56:07 +0000 (20:56 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 8 May 2012 20:56:07 +0000 (20:56 +0000)
commita249f7de5df0bb6260fdebee528221fc84092140
tree14beb655ec9ad5d183cd433315d1ce5bcc6d056f
parent0bf78951755d514c19a0a83eac1b9d1a9b5565db
DAGCombiner should not change the type of an extract_vector index.

When a combine twiddles an extract_vector, care should be take to preserve
the type of the index operand. No luck extracting a reasonable testcase,
unfortunately.

rdar://11391009

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