Rename IsPowerOf2 to isPowerOf2

llvm-svn: 2663
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
index 668ac4a..44f4ea5 100644
--- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp
@@ -586,7 +586,7 @@
                                           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 @@
               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