fix pasto in the new (and still unused) ShuffleVectorInst::getShuffleMask method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2012-01-26 00:41:50 +00:00
parent 27984e67f7
commit 220dfa7e0c

View File

@ -1649,7 +1649,7 @@ void ShuffleVectorInst::getShuffleMask(SmallVectorImpl<int> &Result) const {
for (unsigned i = 0; i != NumElts; ++i) {
Constant *C = Mask->getAggregateElement(i);
Result.push_back(isa<UndefValue>(C) ? -1 :
cast<ConstantInt>(Mask)->getZExtValue());
cast<ConstantInt>(C)->getZExtValue());
}
}