File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
clang/test/CodeGenCoroutines
llvm/lib/Transforms/Coroutines Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,6 @@ MyTask FooBar() {
55
55
// FRONTEND: attributes #[[address_attr]] = {{.*}}alwaysinline
56
56
57
57
// CHECK-O0: define{{.*}}@_Z6FooBarv.resume
58
- // CHECK-O0: call{{.*}}@_ZN7Awaiter13await_suspendESt16coroutine_handleIvE
58
+ // CHECK-O0: call{{.*}}@__await_suspend_helper__Z6FooBarv_await(
59
59
// CHECK-O0-NOT: store
60
60
// CHECK-O0: ret void
Original file line number Diff line number Diff line change @@ -123,11 +123,6 @@ void Lowerer::lowerAwaitSuspend(CoroAwaitSuspendInst *CB) {
123
123
124
124
CB->replaceAllUsesWith (NewCall);
125
125
CB->eraseFromParent ();
126
-
127
- InlineFunctionInfo FnInfo;
128
- auto InlineRes = InlineFunction (*NewCall, FnInfo);
129
- assert (InlineRes.isSuccess () && " Expected inlining to succeed" );
130
- (void )InlineRes;
131
126
}
132
127
133
128
void Lowerer::lowerAwaitSuspends (Function &F) {
You can’t perform that action at this time.
0 commit comments