From 220dfa7e0c7cdb3e6b3fc8f859005939c11e4e90 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 26 Jan 2012 00:41:50 +0000 Subject: [PATCH] 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 --- lib/VMCore/Instructions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } } -- 2.34.1