mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
PR8921: LDM/POP do not support interworking prior to v5t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1390,7 +1390,8 @@ bool ARMLoadStoreOpt::runOnMachineFunction(MachineFunction &Fn) {
|
||||
++MFI) {
|
||||
MachineBasicBlock &MBB = *MFI;
|
||||
Modified |= LoadStoreMultipleOpti(MBB);
|
||||
Modified |= MergeReturnIntoLDM(MBB);
|
||||
if (TM.getSubtarget<ARMSubtarget>().hasV5TOps())
|
||||
Modified |= MergeReturnIntoLDM(MBB);
|
||||
}
|
||||
|
||||
delete RS;
|
||||
|
||||
Reference in New Issue
Block a user