summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-08-11 23:45:43 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-08-11 23:45:43 +0000
commitaea37d65c8039cdfe175d237cfec49bc16c7d0b8 (patch)
treeb0ac921ff08674400174e041f439ae0d2b88187e /llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp
parent39f7533b40e6b3c9eefc9b2ac277ddae42ed00a8 (diff)
downloadbcm5719-llvm-aea37d65c8039cdfe175d237cfec49bc16c7d0b8.tar.gz
bcm5719-llvm-aea37d65c8039cdfe175d237cfec49bc16c7d0b8.zip
Set the is64bit flag and propagate it to PowerPCRegisterInfo
llvm-svn: 15671
Diffstat (limited to 'llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp
index 17b0989e1f4..7c1fda54948 100644
--- a/llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp
@@ -18,8 +18,10 @@
#include <iostream>
using namespace llvm;
-PowerPCInstrInfo::PowerPCInstrInfo()
- : TargetInstrInfo(PowerPCInsts, sizeof(PowerPCInsts)/sizeof(PowerPCInsts[0]))
+PowerPCInstrInfo::PowerPCInstrInfo(bool is64b)
+ : TargetInstrInfo(PowerPCInsts, sizeof(PowerPCInsts)/sizeof(PowerPCInsts[0])),
+ RI(is64b),
+ is64bit(is64b)
{ }
bool PowerPCInstrInfo::isMoveInstr(const MachineInstr& MI,
OpenPOWER on IntegriCloud