Skip to content

Commit 561bb04

Browse files
committed
format
1 parent c1fe663 commit 561bb04

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

llvm/lib/Transforms/Coroutines/SpillUtils.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,10 @@ struct AllocaUseVisitor : PtrUseVisitor<AllocaUseVisitor> {
414414
};
415415
} // namespace
416416

417-
static void collectFrameAlloca(AllocaInst *AI, const coro::Shape &Shape,
418-
const SuspendCrossingInfo &Checker,
419-
SmallVectorImpl<AllocaInfo> &Allocas,
420-
const DominatorTree &DT,
421-
const SmallPtrSetImpl<Value*> &OutsideFrameSet) {
417+
static void collectFrameAlloca(
418+
AllocaInst *AI, const coro::Shape &Shape,
419+
const SuspendCrossingInfo &Checker, SmallVectorImpl<AllocaInfo> &Allocas,
420+
const DominatorTree &DT, const SmallPtrSetImpl<Value *> &OutsideFrameSet) {
422421
if (Shape.CoroSuspends.empty())
423422
return;
424423

@@ -464,7 +463,7 @@ void collectSpillsAndAllocasFromInsts(
464463
const SuspendCrossingInfo &Checker, const DominatorTree &DT,
465464
const coro::Shape &Shape) {
466465

467-
SmallPtrSet<Value*, 4> OutsideFramePtrs;
466+
SmallPtrSet<Value *, 4> OutsideFramePtrs;
468467
for (const CoroOutsideFrameInst *I : Shape.OutsideFrames)
469468
OutsideFramePtrs.insert(I->getPtr());
470469

0 commit comments

Comments
 (0)