projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ea60c
)
Rename IsPowerOf2 to isPowerOf2
author
Chris Lattner
<sabre@nondot.org>
Sun, 19 May 2002 21:20:19 +0000
(21:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 19 May 2002 21:20:19 +0000
(21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2663
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9InstrSelection.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index 668ac4a566798c573b1f2f8c72b5a2f1dd939985..44f4ea5f4d8d2aa21ecec67db6c59386565e19b5 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/
lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@
-586,7
+586,7
@@
CreateMulConstInstruction(const TargetMachine &target, Function* F,
destVal);
mvec.push_back(M);
}
- else if (
I
sPowerOf2(C, pow))
+ else if (
i
sPowerOf2(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 (
I
sPowerOf2(C, pow))
+ else if (
i
sPowerOf2(C, pow))
{
MachineOpCode opCode= ((resultType->isSigned())
? (resultType==Type::LongTy)? SRAX : SRA