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 | d1b8ef97c47d347f2a2261a0d6de4872f248321f (patch) | |
tree | 2d50accb52c1165093aa4780d27d8ec2240c3ba1 /lib/Transforms | |
parent | be04929f7fd76a921540e9901f24563e51dc1219 (diff) |
Make the popcnt support enums and methods have more clear names and
follow the conding conventions regarding enumerating a set of "kinds" of
things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp index 20eec91cf9..59109a7865 100644 --- a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp +++ b/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. |