Skip to content

Commit 99924fb

Browse files
committed
!fixup fix formatting
1 parent d6b4d78 commit 99924fb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

llvm/lib/Transforms/Vectorize/VPlan.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -819,22 +819,22 @@ VPlan::VPlan(Loop *L) {
819819
}
820820

821821
VPlan::~VPlan() {
822-
VPValue DummyValue;
823-
824-
for (auto *VPB : CreatedBlocks) {
825-
if (auto *VPBB = dyn_cast<VPBasicBlock>(VPB)) {
826-
// Replace all operands of recipes and all VPValues defined in VPBB with
827-
// DummyValue so the block can be deleted.
828-
for (VPRecipeBase &R : *VPBB) {
829-
for (auto *Def : R.definedValues())
830-
Def->replaceAllUsesWith(&DummyValue);
831-
832-
for (unsigned I = 0, E = R.getNumOperands(); I != E; I++)
833-
R.setOperand(I, &DummyValue);
834-
}
822+
VPValue DummyValue;
823+
824+
for (auto *VPB : CreatedBlocks) {
825+
if (auto *VPBB = dyn_cast<VPBasicBlock>(VPB)) {
826+
// Replace all operands of recipes and all VPValues defined in VPBB with
827+
// DummyValue so the block can be deleted.
828+
for (VPRecipeBase &R : *VPBB) {
829+
for (auto *Def : R.definedValues())
830+
Def->replaceAllUsesWith(&DummyValue);
831+
832+
for (unsigned I = 0, E = R.getNumOperands(); I != E; I++)
833+
R.setOperand(I, &DummyValue);
835834
}
836-
delete VPB;
837835
}
836+
delete VPB;
837+
}
838838
for (VPValue *VPV : VPLiveInsToFree)
839839
delete VPV;
840840
if (BackedgeTakenCount)

0 commit comments

Comments
 (0)