mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
Fix thinko in arm fast isel alloca rewrite.
llvm-svn: 116339
This commit is contained in:
parent
58ee6f3972
commit
af5b22e150
@ -764,7 +764,7 @@ bool ARMFastISel::ARMEmitStore(EVT VT, unsigned SrcReg,
|
||||
break;
|
||||
}
|
||||
|
||||
if (SrcReg == ARM::SP)
|
||||
if (DstReg == ARM::SP)
|
||||
TII.storeRegToStackSlot(*FuncInfo.MBB, *FuncInfo.InsertPt,
|
||||
SrcReg, true /*isKill*/, Offset,
|
||||
TLI.getRegClassFor(VT), TM.getRegisterInfo());
|
||||
|
Loading…
Reference in New Issue
Block a user