eliminate the Constant::getVectorElements method. There are better (and
authorChris Lattner <sabre@nondot.org>
Thu, 26 Jan 2012 02:51:13 +0000 (02:51 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Jan 2012 02:51:13 +0000 (02:51 +0000)
commit56243b89e7d5072d2d5498f806679d19ea483dac
tree7ed46c29b55e989af4fc74144faa99542547e436
parentd59ae907eea28285ece6696d6f3271b4ca578c0d
eliminate the Constant::getVectorElements method.  There are better (and
more robust) ways to do what it was doing now.  Also, add static methods
for decoding a ShuffleVector mask.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149028 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constant.h
include/llvm/Instructions.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/VMCore/ConstantFold.cpp
lib/VMCore/Constants.cpp
lib/VMCore/Instructions.cpp