summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-08-17 04:58:50 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-08-17 04:58:50 +0000
commit0674182457538a3438303909bcf794fe1039a429 (patch)
tree82a31a301fee5b922d3ce02b121d8882333746b9 /llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
parentac0ae7c21599cedb8407f958ea202a82e3e50c01 (diff)
downloadbcm5719-llvm-0674182457538a3438303909bcf794fe1039a429.tar.gz
bcm5719-llvm-0674182457538a3438303909bcf794fe1039a429.zip
PowerPCInstrInfo has gone away, PPC32 and PPC64 share opcodes.
llvm-svn: 15852
Diffstat (limited to 'llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp b/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
index 4529aedc983..e2456c9320d 100644
--- a/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
+++ b/llvm/lib/Target/PowerPC/PowerPCBranchSelector.cpp
@@ -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 @@ namespace {
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) {
OpenPOWER on IntegriCloud