[llvm-commits] [llvm] r67372 - /llvm/trunk/lib/CodeGen/Spiller.cpp
Sanjiv Gupta
sanjiv.gupta at microchip.com
Fri Mar 20 06:49:26 PDT 2009
Author: sgupta
Date: Fri Mar 20 08:49:20 2009
New Revision: 67372
URL: http://llvm.org/viewvc/llvm-project?rev=67372&view=rev
Log:
Fixed build warnings for unused variables.
Modified:
llvm/trunk/lib/CodeGen/Spiller.cpp
Modified: llvm/trunk/lib/CodeGen/Spiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/Spiller.cpp?rev=67372&r1=67371&r2=67372&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/Spiller.cpp (original)
+++ llvm/trunk/lib/CodeGen/Spiller.cpp Fri Mar 20 08:49:20 2009
@@ -218,7 +218,6 @@
static void UpdateKills(MachineInstr &MI, BitVector &RegKills,
std::vector<MachineOperand*> &KillOps,
const TargetRegisterInfo* TRI) {
- const TargetInstrDesc &TID = MI.getDesc();
for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) {
MachineOperand &MO = MI.getOperand(i);
if (!MO.isReg() || !MO.isUse())
@@ -881,7 +880,6 @@
}
if (LastUDMI) {
- const TargetInstrDesc &TID = LastUDMI->getDesc();
MachineOperand *LastUD = NULL;
for (unsigned i = 0, e = LastUDMI->getNumOperands(); i != e; ++i) {
MachineOperand &MO = LastUDMI->getOperand(i);
@@ -944,7 +942,6 @@
NextMII = next(MII);
MachineInstr &MI = *MII;
- const TargetInstrDesc &TID = MI.getDesc();
if (VRM.hasEmergencySpills(&MI)) {
// Spill physical register(s) in the rare case the allocator has run out
More information about the llvm-commits
mailing list