diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-01-07 03:16:03 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-01-07 03:16:03 +0000 |
commit | 50a36cd148f920699e47be35f057a0e0d862b611 (patch) | |
tree | 7c503e0b69ff29114a6ddadee492b55dfe15e5a8 /llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | |
parent | d3e73556d6139bf46f897b6d62b3d4d9d3323ad4 (diff) | |
download | bcm5719-llvm-50a36cd148f920699e47be35f057a0e0d862b611.tar.gz bcm5719-llvm-50a36cd148f920699e47be35f057a0e0d862b611.zip |
Make the popcnt support enums and methods have more clear names and
follow the conding conventions regarding enumerating a set of "kinds" of
things.
llvm-svn: 171687
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 20eec91cf90..59109a78656 100644 --- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp @@ -311,7 +311,7 @@ NclPopcountRecognize::NclPopcountRecognize(LoopIdiomRecognize &TheLIR): bool NclPopcountRecognize::preliminaryScreen() { const TargetTransformInfo *TTI = LIR.getTargetTransformInfo(); - if (TTI->getPopcntHwSupport(32) != TargetTransformInfo::Fast) + if (TTI->getPopcntSupport(32) != TargetTransformInfo::PSK_FastHardware) return false; // Counting population are usually conducted by few arithmetic instrutions. |