mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
ARMLoadStoreOptimizer invalidates register liveness.
This pass tries to update kill flags, but there are still many bugs. Passes after the load/store optimizer don't need accurate liveness, so don't even try. <rdar://problem/11101911> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f141684cf
commit
805543068e
@ -1411,6 +1411,10 @@ bool ARMLoadStoreOpt::runOnMachineFunction(MachineFunction &Fn) {
|
||||
}
|
||||
|
||||
delete RS;
|
||||
|
||||
// Kill flags aren't updated accurately by this pass.
|
||||
Fn.getRegInfo().invalidateLiveness();
|
||||
|
||||
return Modified;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user