From bb00800ff46e7a2a628d0a6741a7f0422c74c198 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 7 Jan 2013 03:20:02 +0000 Subject: 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 --- lib/Transforms/Vectorize/LoopVectorize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp') diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 6a26bef89c..17d9eb1d7c 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; } -- cgit v1.2.3-18-g5258