[llvm-commits] CVS: llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jul 27 10:43:34 PDT 2004
Changes in directory llvm/lib/Target/SparcV9/RegAlloc:
PhyRegAlloc.cpp updated: 1.154 -> 1.155
---
Log message:
TargetInstrInfo::getNOPOpCode() has been replaced by a reference to V9::NOP.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
diff -u llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp:1.154 llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp:1.155
--- llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp:1.154 Sat Jul 17 19:36:44 2004
+++ llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp Tue Jul 27 12:43:24 2004
@@ -26,6 +26,7 @@
#include "RegAllocCommon.h"
#include "RegClass.h"
#include "../LiveVar/FunctionLiveVarInfo.h"
+#include "../SparcV9InstrInfo.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/iPHINode.h"
@@ -550,7 +551,7 @@
// instruction out of the delay slot). On cond2 we need
// to insert a nop in place of the moved instruction
if (cond2) {
- MBB.insert(MII, BuildMI(TM.getInstrInfo()->getNOPOpCode(),1));
+ MBB.insert(MII, BuildMI(V9::NOP, 1));
}
}
else {
More information about the llvm-commits
mailing list