File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
llvm/lib/Transforms/Coroutines
mlir/lib/Dialect/Async/Transforms Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ void Lowerer::lowerEarlyIntrinsics(Function &F) {
203
203
if (CII->getInfo ().isPreSplit ()) {
204
204
assert (F.isPresplitCoroutine () &&
205
205
" The frontend uses Swtich-Resumed ABI should emit "
206
- " \" coroutine.presplit \" attribute for the coroutine." );
206
+ " \" presplitcoroutine \" attribute for the coroutine." );
207
207
setCannotDuplicate (CII);
208
208
CII->setCoroutineSelf ();
209
209
CoroId = cast<CoroIdInst>(&I);
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ static CoroMachinery setupCoroMachinery(func::FuncOp func) {
242
242
// continuations, and will conditionally branch to cleanup or suspend blocks.
243
243
244
244
// The switch-resumed API based coroutine should be marked with
245
- // coroutine.presplit attribute to mark the function as a coroutine.
245
+ // presplitcoroutine attribute to mark the function as a coroutine.
246
246
func->setAttr (" passthrough" , builder.getArrayAttr (
247
247
StringAttr::get (ctx, " presplitcoroutine" )));
248
248
You can’t perform that action at this time.
0 commit comments