mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Use i64 on a PPC64 machine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f04afdbb48
commit
b8a80f03bf
@ -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…
x
Reference in New Issue
Block a user