Skip to content

Commit 7b3266e

Browse files
committed
clang-format
1 parent a44bb8d commit 7b3266e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/lib/CodeGen/LiveVariables.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ void LiveVariables::HandleVirtRegDef(Register Reg, MachineInstr &MI) {
215215

216216
/// FindLastPartialDef - Return the last partial def of the specified register.
217217
/// Also returns the sub-registers that're defined by the instruction.
218-
MachineInstr *
219-
LiveVariables::FindLastPartialDef(Register Reg) {
218+
MachineInstr *LiveVariables::FindLastPartialDef(Register Reg) {
220219
unsigned LastDefDist = 0;
221220
MachineInstr *LastDef = nullptr;
222221
for (MCPhysReg SubReg : TRI->subregs(Reg)) {
@@ -254,8 +253,8 @@ void LiveVariables::HandlePhysRegUse(Register Reg, MachineInstr &MI) {
254253
MachineInstr *LastPartialDef = FindLastPartialDef(Reg);
255254
// If LastPartialDef is NULL, it must be using a livein register.
256255
if (LastPartialDef) {
257-
LastPartialDef->addOperand(MachineOperand::CreateReg(Reg, true/*IsDef*/,
258-
true/*IsImp*/));
256+
LastPartialDef->addOperand(
257+
MachineOperand::CreateReg(Reg, true /*IsDef*/, true /*IsImp*/));
259258
}
260259
} else if (LastDef && !PhysRegUse[Reg.id()] &&
261260
!LastDef->findRegisterDefOperand(Reg, /*TRI=*/nullptr))

0 commit comments

Comments
 (0)