aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-26 00:41:50 +0000
committerChris Lattner <sabre@nondot.org>2012-01-26 00:41:50 +0000
commit220dfa7e0c7cdb3e6b3fc8f859005939c11e4e90 (patch)
tree64c0ea3b0133944509a3bdbb48e4b68fc8096d73 /lib/VMCore
parent27984e67f7958c83e69aa15859d29867c46097a9 (diff)
downloadexternal_llvm-220dfa7e0c7cdb3e6b3fc8f859005939c11e4e90.zip
external_llvm-220dfa7e0c7cdb3e6b3fc8f859005939c11e4e90.tar.gz
external_llvm-220dfa7e0c7cdb3e6b3fc8f859005939c11e4e90.tar.bz2
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
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Instructions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp
index 46d5e7a..1de7c01 100644
--- a/lib/VMCore/Instructions.cpp
+++ b/lib/VMCore/Instructions.cpp
@@ -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());
}
}