mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Physreg dead defs should be handled too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d629efa064
commit
b3396dc003
@ -1931,8 +1931,8 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
|
||||
unsigned Reg = MO.getReg();
|
||||
if (!Reg)
|
||||
continue;
|
||||
if (TargetRegisterInfo::isVirtualRegister(Reg)) {
|
||||
DeadDefs.push_back(Reg);
|
||||
if (TargetRegisterInfo::isVirtualRegister(Reg)) {
|
||||
// Remat may also enable register class inflation.
|
||||
if (RegClassInfo.isProperSubClass(MRI->getRegClass(Reg)))
|
||||
InflateRegs.push_back(Reg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user