From: Bill Wendling Date: Thu, 30 Aug 2007 00:59:19 +0000 (+0000) Subject: Use i64 on a PPC64 machine X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b8a80f03bf573a36b6f63b834aae2e91b82f96c6;p=oota-llvm.git Use i64 on a PPC64 machine git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41590 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 5b738a5085e..f2de2a30382 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -3466,7 +3466,7 @@ SDOperand PPCTargetLowering::LowerFRAMEADDR(SDOperand Op, SelectionDAG &DAG) if (isPPC64) return DAG.getCopyFromReg(DAG.getEntryNode(), is31 ? PPC::X31 : PPC::X1, - MVT::i32); + MVT::i64); else return DAG.getCopyFromReg(DAG.getEntryNode(), is31 ? PPC::R31 : PPC::R1, MVT::i32);