Change EXTRACT_SUBVECTOR to require a constant index.
authorBob Wilson <bob.wilson@apple.com>
Fri, 7 Jan 2011 04:58:56 +0000 (04:58 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 7 Jan 2011 04:58:56 +0000 (04:58 +0000)
commit6736e19f4c9af1181cedca54ba6e3a1420454928
treea28fa458ff2b895acaa45155c83bc1b1346e5be6
parent8d90b7190f9411e0e48d8a29705240f7679ae201
Change EXTRACT_SUBVECTOR to require a constant index.
We were never generating any of these nodes with variable indices, and there
was one legalizer function asserting on a non-constant index.  If we ever have
a need to support variable indices, we can add this back again.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122993 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ISDOpcodes.h
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp