Fix the enumerator names for ShuffleKind to match tho coding standards,

and make its comments doxygen comments.

llvm-svn: 171688
This commit is contained in:
Chandler Carruth
2013-01-07 03:20:02 +00:00
parent 50a36cd148
commit 2109f47d97
3 changed files with 8 additions and 7 deletions

View File

@@ -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;
}