mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
Fix memory leak of RegScavenger accidentally added in r211037.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c22960dba6
commit
fc6e030047
@ -1735,8 +1735,10 @@ bool ARMLoadStoreOpt::runOnMachineFunction(MachineFunction &Fn) {
|
||||
isThumb1 = AFI->isThumbFunction() && !isThumb2;
|
||||
|
||||
// FIXME: Temporarily disabling for Thumb-1 due to miscompiles
|
||||
if (isThumb1)
|
||||
if (isThumb1) {
|
||||
delete RS;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Modified = false;
|
||||
for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
|
||||
|
Loading…
x
Reference in New Issue
Block a user