[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
Misha Brukman
brukman at cs.uiuc.edu
Mon Aug 16 21:59:00 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PowerPCBranchSelector.cpp updated: 1.3 -> 1.4
---
Log message:
PowerPCInstrInfo has gone away, PPC32 and PPC64 share opcodes.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp:1.3 llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp:1.4
--- llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp:1.3 Tue Aug 10 17:47:03 2004
+++ llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp Mon Aug 16 23:58:50 2004
@@ -19,6 +19,7 @@
#include "PowerPC.h"
#include "PowerPCInstrBuilder.h"
#include "PowerPCInstrInfo.h"
+#include "PPC32InstrInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "Support/Debug.h"
@@ -104,7 +105,7 @@
int Displacement = OffsetMap[trueMBB] - ByteCount;
unsigned Opcode = MBBI->getOperand(1).getImmedValue();
- unsigned Inverted = PowerPCInstrInfo::invertPPCBranchOpcode(Opcode);
+ unsigned Inverted = PPC32InstrInfo::invertPPCBranchOpcode(Opcode);
MachineInstr *MI = MBBI;
if (Displacement >= -32768 && Displacement <= 32767) {
More information about the llvm-commits
mailing list