Use i64 on a PPC64 machine

llvm-svn: 41590
This commit is contained in:
Bill Wendling 2007-08-30 00:59:19 +00:00
parent cfb83dd7f2
commit 10e18dea2a
1 changed files with 1 additions and 1 deletions

View File

@ -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);