mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-04 01:51:31 +00:00
Use i64 on a PPC64 machine
llvm-svn: 41590
This commit is contained in:
parent
e91a908971
commit
c65cf7849d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user