[llvm-commits] [llvm] r55089 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Dan Gohman
gohman at apple.com
Wed Aug 20 16:53:11 PDT 2008
Author: djg
Date: Wed Aug 20 18:53:10 2008
New Revision: 55089
URL: http://llvm.org/viewvc/llvm-project?rev=55089&view=rev
Log:
Fix unused variable warnings.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=55089&r1=55088&r2=55089&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Wed Aug 20 18:53:10 2008
@@ -259,7 +259,7 @@
unsigned ResultReg = MRI.createVirtualRegister(RC);
const TargetInstrDesc &II = TII.get(MachineInstOpcode);
- MachineInstr *MI = BuildMI(MBB, II, ResultReg);
+ BuildMI(MBB, II, ResultReg);
return ResultReg;
}
@@ -269,7 +269,7 @@
unsigned ResultReg = MRI.createVirtualRegister(RC);
const TargetInstrDesc &II = TII.get(MachineInstOpcode);
- MachineInstr *MI = BuildMI(MBB, II, ResultReg).addReg(Op0);
+ BuildMI(MBB, II, ResultReg).addReg(Op0);
return ResultReg;
}
@@ -279,6 +279,6 @@
unsigned ResultReg = MRI.createVirtualRegister(RC);
const TargetInstrDesc &II = TII.get(MachineInstOpcode);
- MachineInstr *MI = BuildMI(MBB, II, ResultReg).addReg(Op0).addReg(Op1);
+ BuildMI(MBB, II, ResultReg).addReg(Op0).addReg(Op1);
return ResultReg;
}
More information about the llvm-commits
mailing list