@@ -215,8 +215,7 @@ void LiveVariables::HandleVirtRegDef(Register Reg, MachineInstr &MI) {
215
215
216
216
// / FindLastPartialDef - Return the last partial def of the specified register.
217
217
// / Also returns the sub-registers that're defined by the instruction.
218
- MachineInstr *
219
- LiveVariables::FindLastPartialDef (Register Reg) {
218
+ MachineInstr *LiveVariables::FindLastPartialDef (Register Reg) {
220
219
unsigned LastDefDist = 0 ;
221
220
MachineInstr *LastDef = nullptr ;
222
221
for (MCPhysReg SubReg : TRI->subregs (Reg)) {
@@ -254,14 +253,14 @@ void LiveVariables::HandlePhysRegUse(Register Reg, MachineInstr &MI) {
254
253
MachineInstr *LastPartialDef = FindLastPartialDef (Reg);
255
254
// If LastPartialDef is NULL, it must be using a livein register.
256
255
if (LastPartialDef) {
257
- LastPartialDef->addOperand (MachineOperand::CreateReg (Reg, true /* IsDef */ ,
258
- true /* IsImp*/ ));
256
+ LastPartialDef->addOperand (
257
+ MachineOperand::CreateReg (Reg, true /* IsDef */ , true /* IsImp*/ ));
259
258
}
260
259
} else if (LastDef && !PhysRegUse[Reg.id ()] &&
261
260
!LastDef->findRegisterDefOperand (Reg, /* TRI=*/ nullptr ))
262
261
// Last def defines the super register, add an implicit def of reg.
263
- LastDef->addOperand (MachineOperand::CreateReg (Reg, true /* IsDef*/ ,
264
- true /* IsImp*/ ));
262
+ LastDef->addOperand (MachineOperand::CreateReg (Reg, true /* IsDef*/ ,
263
+ true /* IsImp*/ ));
265
264
266
265
// Remember this use.
267
266
for (MCPhysReg SubReg : TRI->subregs_inclusive (Reg))
0 commit comments