From: Chris Lattner Date: Thu, 26 Jan 2012 00:41:50 +0000 (+0000) Subject: fix pasto in the new (and still unused) ShuffleVectorInst::getShuffleMask method. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=220dfa7e0c7cdb3e6b3fc8f859005939c11e4e90;p=oota-llvm.git 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 --- diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index 46d5e7a4481..1de7c01c0d5 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -1649,7 +1649,7 @@ void ShuffleVectorInst::getShuffleMask(SmallVectorImpl &Result) const { for (unsigned i = 0; i != NumElts; ++i) { Constant *C = Mask->getAggregateElement(i); Result.push_back(isa(C) ? -1 : - cast(Mask)->getZExtValue()); + cast(C)->getZExtValue()); } }