[llvm-commits] CVS: llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 14 15:59:05 PST 2003
Changes in directory llvm/lib/CodeGen/PostOpts:
PeepholeOpts.cpp updated: 1.5 -> 1.6
---
Log message:
Rename MachineInstrInfo -> TargetInstrInfo
---
Diffs of the changes:
Index: llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp
diff -u llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp:1.5 llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp:1.6
--- llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp:1.5 Sat Dec 28 20:50:29 2002
+++ llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp Tue Jan 14 15:58:47 2003
@@ -9,7 +9,7 @@
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetMachine.h"
-#include "llvm/Target/MachineInstrInfo.h"
+#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetOptInfo.h"
#include "llvm/BasicBlock.h"
#include "llvm/Pass.h"
@@ -24,7 +24,7 @@
// Check if this instruction is in a delay slot of its predecessor.
if (BBI != mvec.begin())
{
- const MachineInstrInfo& mii = target.getInstrInfo();
+ const TargetInstrInfo& mii = target.getInstrInfo();
MachineInstr* predMI = *(BBI-1);
if (unsigned ndelay = mii.getNumDelaySlots(predMI->getOpCode()))
{
More information about the llvm-commits
mailing list