aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Vectorize/LoopVectorize.cpp
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
commitbb00800ff46e7a2a628d0a6741a7f0422c74c198 (patch)
tree5451ac559c49dcfcbdcc2ce04157e8de716118ff /lib/Transforms/Vectorize/LoopVectorize.cpp
parentd1b8ef97c47d347f2a2261a0d6de4872f248321f (diff)
downloadexternal_llvm-bb00800ff46e7a2a628d0a6741a7f0422c74c198.zip
external_llvm-bb00800ff46e7a2a628d0a6741a7f0422c74c198.tar.gz
external_llvm-bb00800ff46e7a2a628d0a6741a7f0422c74c198.tar.bz2
Fix the enumerator names for ShuffleKind to match tho coding standards,
and make its comments doxygen comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp
index 6a26bef..17d9eb1 100644
--- a/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/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;
}