diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-05-19 21:20:19 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-05-19 21:20:19 +0000 |
| commit | 7f99b6f58c259583ca98583d381c4752048eb488 (patch) | |
| tree | 432b42897d5966fdb484816440e8630ec7be05d6 /llvm/lib/Target | |
| parent | 84dc8633e81b44b4a3097fc057453d26d457543a (diff) | |
| download | bcm5719-llvm-7f99b6f58c259583ca98583d381c4752048eb488.tar.gz bcm5719-llvm-7f99b6f58c259583ca98583d381c4752048eb488.zip | |
Rename IsPowerOf2 to isPowerOf2
llvm-svn: 2663
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrSelection.cpp | 4 |
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 |

