diff options
Diffstat (limited to 'clang/test/CodeGenCoroutines/coro-alloc.cpp')
-rw-r--r-- | clang/test/CodeGenCoroutines/coro-alloc.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/test/CodeGenCoroutines/coro-alloc.cpp b/clang/test/CodeGenCoroutines/coro-alloc.cpp index 794799c19da..820201db357 100644 --- a/clang/test/CodeGenCoroutines/coro-alloc.cpp +++ b/clang/test/CodeGenCoroutines/coro-alloc.cpp @@ -173,7 +173,6 @@ struct std::experimental::coroutine_traits<int, promise_on_alloc_failure_tag> { // CHECK-LABEL: f4( extern "C" int f4(promise_on_alloc_failure_tag) { // CHECK: %[[RetVal:.+]] = alloca i32 - // CHECK: %[[Gro:.+]] = alloca i32 // CHECK: %[[ID:.+]] = call token @llvm.coro.id(i32 16 // CHECK: %[[SIZE:.+]] = call i64 @llvm.coro.size.i64() // CHECK: %[[MEM:.+]] = call i8* @_ZnwmRKSt9nothrow_t(i64 %[[SIZE]], %"struct.std::nothrow_t"* dereferenceable(1) @_ZStL7nothrow) @@ -187,12 +186,7 @@ extern "C" int f4(promise_on_alloc_failure_tag) { // CHECK: [[OKBB]]: // CHECK: %[[OkRet:.+]] = call i32 @_ZNSt12experimental16coroutine_traitsIJi28promise_on_alloc_failure_tagEE12promise_type17get_return_objectEv( - // CHECK: store i32 %[[OkRet]], i32* %[[Gro]] - - // CHECK: coro.ret: - // CHECK: %[[Tmp1:.*]] = load i32, i32* %[[Gro]] - // CHECK-NEXT: store i32 %[[Tmp1]], i32* %[[RetVal]] - // CHECK-NEXT: br label %[[RetBB]] + // CHECK: store i32 %[[OkRet]], i32* %[[RetVal]] // CHECK: [[RetBB]]: // CHECK: %[[LoadRet:.+]] = load i32, i32* %[[RetVal]], align 4 |