Move some code from Verifier into SVI::isValidOperands. This allows us to catch...
authorNate Begeman <natebegeman@mac.com>
Fri, 13 Aug 2010 00:16:46 +0000 (00:16 +0000)
committerNate Begeman <natebegeman@mac.com>
Fri, 13 Aug 2010 00:16:46 +0000 (00:16 +0000)
commita966af2f4cf77c4b8107fb0e93bb97a78f99f5dc
tree9a59df3336639c620fb711df0b30ca2ab80a690f
parentca2835411f87addaf55772de58ab23ffdb23ff1c
Move some code from Verifier into SVI::isValidOperands.  This allows us to catch bad shufflevector operations when they are created, rather than waiting for someone to notice later on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110986 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Instructions.cpp
lib/VMCore/Verifier.cpp