diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCInstrInfo.cpp | 6 |
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, |