aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-08-19 21:36:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-08-19 21:36:14 +0000
commit983e92dc0db2cd86cc53fe03a33fc1d4758b1f43 (patch)
tree16679f27e30acf8aa8f755f1bdbd4a3cd09d007d /lib/Target/PowerPC/PPCTargetMachine.cpp
parent4debafbea461a756481eacf72d3372a55ff1d8af (diff)
LR needs to be saved at 16-byte offset on a 64-bit arch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index b7e45a3e0b..084eb3d157 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -42,8 +42,8 @@ namespace {
// Register the targets
RegisterTarget<PPC32TargetMachine>
X("ppc32", " PowerPC 32-bit (experimental)");
- //RegisterTarget<PPC64TargetMachine>
- //Y("ppc64", " PowerPC 64-bit (unimplemented)");
+ RegisterTarget<PPC64TargetMachine>
+ Y("ppc64", " PowerPC 64-bit (unimplemented)");
}
PowerPCTargetMachine::PowerPCTargetMachine(const std::string &name,
@@ -145,14 +145,14 @@ void *PowerPCJITInfo::getJITStubForFunction(Function *F,
PPC32TargetMachine::PPC32TargetMachine(const Module &M, IntrinsicLowering *IL)
: PowerPCTargetMachine(PPC32ID, IL,
TargetData(PPC32ID,false,4,4,4,4,4,4,2,1,4),
- PowerPCFrameInfo(*this), PPC32JITInfo(*this)) {}
+ PowerPCFrameInfo(*this, false), PPC32JITInfo(*this)) {}
/// PPC64TargetMachine ctor - Create a LP64 architecture model
///
PPC64TargetMachine::PPC64TargetMachine(const Module &M, IntrinsicLowering *IL)
: PowerPCTargetMachine(PPC64ID, IL,
TargetData(PPC64ID,false,8,4,4,4,4,4,2,1,4),
- PowerPCFrameInfo(*this), PPC64JITInfo(*this)) {}
+ PowerPCFrameInfo(*this, true), PPC64JITInfo(*this)) {}
unsigned PPC32TargetMachine::getModuleMatchQuality(const Module &M) {
if (M.getEndianness() == Module::BigEndian &&