diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-02-11 20:47:34 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-02-11 20:47:34 +0000 |
| commit | b22186adf033d0579a0c8d8875526d642730f363 (patch) | |
| tree | 479aa2bcdb0b7319e202517f1cb9cc5d6c2e49fc /llvm/lib/Target/Sparc/SparcInstrSelection.cpp | |
| parent | 0302beeb09e18ce9224f58176e58a747f150519a (diff) | |
| download | bcm5719-llvm-b22186adf033d0579a0c8d8875526d642730f363.tar.gz bcm5719-llvm-b22186adf033d0579a0c8d8875526d642730f363.zip | |
MachineInstr::getOpCode() --> getOpcode() in SPARC back-end.
llvm-svn: 11335
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInstrSelection.cpp')
| -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 5b729ecaea7..25c5fdee1a2 100644 --- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp +++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp @@ -874,7 +874,7 @@ CreateMulConstInstruction(const TargetMachine &target, Function* F, if (firstNewInstr < mvec.size()) { cost = 0; for (unsigned i=firstNewInstr; i < mvec.size(); ++i) - cost += target.getInstrInfo().minLatency(mvec[i]->getOpCode()); + cost += target.getInstrInfo().minLatency(mvec[i]->getOpcode()); } return cost; @@ -1918,7 +1918,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot, const MachineCodeForInstruction& mcfi = MachineCodeForInstruction::get( cast<InstructionNode>(subtreeRoot->parent())->getInstruction()); - if (mcfi.size() == 0 || mcfi.front()->getOpCode() == V9::FSMULD) + if (mcfi.size() == 0 || mcfi.front()->getOpcode() == V9::FSMULD) forwardOperandNum = 0; // forward first operand to user } |

