We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949774c commit b34cf5bCopy full SHA for b34cf5b
llvm/lib/Target/ARM/Thumb1InstrInfo.cpp
@@ -71,9 +71,8 @@ void Thumb1InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
71
.addReg(SrcReg, getKillRegState(KillSrc))
72
.add(predOps(ARMCC::AL));
73
BuildMI(MBB, I, DL, get(ARM::tMOVr), DestReg)
74
- .addReg(ARM::R10, getKillRegState(KillSrc))
75
- .add(predOps(ARMCC::AL))
76
- ->addRegisterDead(ARM::R10, RegInfo);
+ .addReg(ARM::R10, RegState::Kill)
+ .add(predOps(ARMCC::AL));
77
return;
78
}
79
@@ -84,10 +83,8 @@ void Thumb1InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
84
83
85
86
87
- .addReg(ARM::R11, getKillRegState(KillSrc))
88
89
- ->addRegisterDead(ARM::R11, RegInfo);
90
- ;
+ .addReg(ARM::R11, RegState::Kill)
91
92
93
0 commit comments