diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-12 15:35:40 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-12 15:35:40 +0000 |
commit | 5f6a9072882f97076910f94f3cc470a567c5bf20 (patch) | |
tree | 67ea94598b8e81db6162e4cf1de15ef1012b391f /llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | |
parent | f1828ef3c6009fea5d88b3ca116e71cc90df6ff0 (diff) | |
download | bcm5719-llvm-5f6a9072882f97076910f94f3cc470a567c5bf20.tar.gz bcm5719-llvm-5f6a9072882f97076910f94f3cc470a567c5bf20.zip |
MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line with countTrailingZeros
Update all callers.
llvm-svn: 228930
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 7a8bc28f7a6..2418ca6b19a 100644 --- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -2523,7 +2523,7 @@ SDNode *PPCDAGToDAGISel::Select(SDNode *N) { if (isInt64Immediate(N->getOperand(1).getNode(), Imm64) && isMask_64(Imm64)) { SDValue Val = N->getOperand(0); - MB = 64 - CountTrailingOnes_64(Imm64); + MB = 64 - countTrailingOnes(Imm64); SH = 0; // If the operand is a logical right shift, we can fold it into this |