projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27984e6
)
fix pasto in the new (and still unused) ShuffleVectorInst::getShuffleMask method.
author
Chris Lattner
<sabre@nondot.org>
Thu, 26 Jan 2012 00:41:50 +0000
(
00:41
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 26 Jan 2012 00:41:50 +0000
(
00:41
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149005
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Instructions.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Instructions.cpp
b/lib/VMCore/Instructions.cpp
index 46d5e7a44813655334aee77efe234d213ac41940..1de7c01c0d501673ea05de05920fd08deb3c6572 100644
(file)
--- 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());
}
}