summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-07 03:20:02 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-07 03:20:02 +0000
commit2109f47d97e86f705143fc67247d05f48ef138de (patch)
tree1a4e396761c38976b357732926c2407250817eb7 /llvm/lib/Transforms
parent50a36cd148f920699e47be35f057a0e0d862b611 (diff)
downloadbcm5719-llvm-2109f47d97e86f705143fc67247d05f48ef138de.tar.gz
bcm5719-llvm-2109f47d97e86f705143fc67247d05f48ef138de.zip
Fix the enumerator names for ShuffleKind to match tho coding standards,
and make its comments doxygen comments. llvm-svn: 171688
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 6a26bef89c0..17d9eb1d7c9 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2437,7 +2437,7 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I, unsigned VF) {
SI->getAlignment(),
SI->getPointerAddressSpace());
if (Reverse)
- Cost += TTI->getShuffleCost(TargetTransformInfo::Reverse,
+ Cost += TTI->getShuffleCost(TargetTransformInfo::SK_Reverse,
VectorTy, 0);
return Cost;
}
@@ -2479,7 +2479,7 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I, unsigned VF) {
LI->getAlignment(),
LI->getPointerAddressSpace());
if (Reverse)
- Cost += TTI->getShuffleCost(TargetTransformInfo::Reverse,
+ Cost += TTI->getShuffleCost(TargetTransformInfo::SK_Reverse,
VectorTy, 0);
return Cost;
}
OpenPOWER on IntegriCloud