diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/Local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index ddef654..2ca25ef 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -3152,7 +3152,7 @@ collectBitParts(Value *V, bool MatchBSwaps, bool MatchBitReversals, // Check that the mask allows a multiple of 8 bits for a bswap, for an // early exit. - unsigned NumMaskedBits = AndMask.countPopulation(); + unsigned NumMaskedBits = AndMask.popcount(); if (!MatchBitReversals && (NumMaskedBits % 8) != 0) return Result; |