summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-19 21:20:19 +0000
committerChris Lattner <sabre@nondot.org>2002-05-19 21:20:19 +0000
commit7f99b6f58c259583ca98583d381c4752048eb488 (patch)
tree432b42897d5966fdb484816440e8630ec7be05d6
parent84dc8633e81b44b4a3097fc057453d26d457543a (diff)
downloadbcm5719-llvm-7f99b6f58c259583ca98583d381c4752048eb488.tar.gz
bcm5719-llvm-7f99b6f58c259583ca98583d381c4752048eb488.zip
Rename IsPowerOf2 to isPowerOf2
llvm-svn: 2663
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrSelection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
index 668ac4a5667..44f4ea5f4d8 100644
--- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
@@ -586,7 +586,7 @@ CreateMulConstInstruction(const TargetMachine &target, Function* F,
destVal);
mvec.push_back(M);
}
- else if (IsPowerOf2(C, pow))
+ else if (isPowerOf2(C, pow))
{
unsigned int opSize = target.DataLayout.getTypeSize(resultType);
MachineOpCode opCode = (opSize <= 32)? SLL : SLLX;
@@ -757,7 +757,7 @@ CreateDivConstInstruction(TargetMachine &target,
minstr1->SetMachineOperandReg(1,
target.getRegInfo().getZeroRegNum());
}
- else if (IsPowerOf2(C, pow))
+ else if (isPowerOf2(C, pow))
{
MachineOpCode opCode= ((resultType->isSigned())
? (resultType==Type::LongTy)? SRAX : SRA
OpenPOWER on IntegriCloud