Skip to content

Commit 9e72165

Browse files
committed
Reformat
1 parent 19dbb90 commit 9e72165

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

clang/lib/CodeGen/CGCoroutine.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,7 @@ struct CallCoroEnd final : public EHScopeStack::Cleanup {
585585
// either to a cleanup block or a block with EH resume instruction.
586586
auto *ResumeBB = CGF.getEHResumeBlock(/*isCleanup=*/true);
587587
auto *CleanupContBB = CGF.createBasicBlock("cleanup.cont");
588-
auto *CoroIsInRampFn =
589-
CGM.getIntrinsic(llvm::Intrinsic::coro_is_in_ramp);
588+
auto *CoroIsInRampFn = CGM.getIntrinsic(llvm::Intrinsic::coro_is_in_ramp);
590589
auto *CoroIsInRamp = CGF.Builder.CreateCall(CoroIsInRampFn);
591590
CGF.Builder.CreateCondBr(CoroIsInRamp, CleanupContBB, ResumeBB);
592591
CGF.EmitBlock(CleanupContBB);

llvm/lib/Transforms/Coroutines/CoroSplit.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ static void markCoroutineAsDone(IRBuilder<> &Builder, const coro::Shape &Shape,
345345

346346
/// Replace an unwind call to llvm.coro.end.
347347
static void replaceUnwindCoroEnd(AnyCoroEndInst *End, const coro::Shape &Shape,
348-
Value *FramePtr, bool InRamp,
349-
CallGraph *CG) {
348+
Value *FramePtr, bool InRamp, CallGraph *CG) {
350349
IRBuilder<> Builder(End);
351350

352351
switch (Shape.ABI) {

0 commit comments

Comments
 (0)