Skip to content

Commit 3418feb

Browse files
committed
clang-format
1 parent c19954f commit 3418feb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ class AssignmentTrackingInfo {
185185
ConvertDebugDeclareToDebugValue(DVR, NewPhi, DIB);
186186
}
187187

188-
void clear() {
189-
DVRAssigns.clear();
190-
}
188+
void clear() { DVRAssigns.clear(); }
191189
bool empty() { return DVRAssigns.empty(); }
192190
};
193191

@@ -613,8 +611,8 @@ rewriteSingleStoreAlloca(AllocaInst *AI, AllocaInfo &Info, LargeBlockInfo &LBI,
613611

614612
DIBuilder DIB(*AI->getModule(), /*AllowUnresolved*/ false);
615613
// Update assignment tracking info for the store we're going to delete.
616-
Info.AssignmentTracking.updateForDeletedStore(
617-
Info.OnlyStore, DIB, DVRAssignsToDelete);
614+
Info.AssignmentTracking.updateForDeletedStore(Info.OnlyStore, DIB,
615+
DVRAssignsToDelete);
618616

619617
// Record debuginfo for the store and remove the declaration's
620618
// debuginfo.

0 commit comments

Comments
 (0)