aboutsummaryrefslogtreecommitdiff
path: root/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
commita6ecd9ee47ea0a80362c58c4fbd7b29d9b61ee61 (patch)
tree632008a3e39daf7028116a7935ce0c99db14968e /lib/Target/PowerPC/PowerPCInstrInfo.cpp
parentdceb4576075546962ac816a05267afbc606234a6 (diff)
Set the is64bit flag and propagate it to PowerPCRegisterInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PowerPCInstrInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PowerPCInstrInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PowerPCInstrInfo.cpp b/lib/Target/PowerPC/PowerPCInstrInfo.cpp
index 17b0989e1f..7c1fda5494 100644
--- a/lib/Target/PowerPC/PowerPCInstrInfo.cpp
+++ b/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,