llvm-project/clang/test/CodeGenCoroutines
Gor Nishanov 050e79e958 CGCleanup: (NFC) add another test for r304335 - Don't try to spill static allocas
Summary:
Coroutine related test that used to trigger broken IR prior to r304335.

```
%x = alloca i32, align 4
store i32* %x, i32** %tmp.exprcleanup, align 4 ; <===== HERE
%ref.tmp3 = alloca %struct.A, align 1
%agg.tmp5 = alloca %"struct.std::experimental::coroutines_v1::coroutine_handle.0", align 4
%tmp.exprcleanup = alloca i32*, align 4
%allocapt = bitcast i32 undef to i32
store i32 %0, i32* %.addr, align 4
```

Fixed with r304335

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D33750

llvm-svn: 304380
2017-06-01 01:15:25 +00:00
..
Inputs [coroutines] [NFC] Add tests for return_void, unhandled_exception and promise dtor 2017-05-24 14:19:48 +00:00
coro-alloc.cpp [coroutines] Add support for deallocation elision 2017-05-23 04:21:27 +00:00
coro-await-domination.cpp CGCleanup: (NFC) add another test for r304335 - Don't try to spill static allocas 2017-06-01 01:15:25 +00:00
coro-await.cpp [coroutines] Skip over passthrough operator co_await 2017-05-23 05:25:31 +00:00
coro-builtins-err.c [coroutines] Adding builtins for coroutine intrinsics and backendutil support. 2016-10-03 22:44:48 +00:00
coro-builtins.c [coroutines] Replace all coro.frame builtins with an SSA value of coro.begin 2017-05-23 03:46:59 +00:00
coro-cleanup.cpp [coroutines] Add emission of initial and final suspends 2017-05-23 05:04:01 +00:00
coro-eh-cleanup.cpp [coroutines] Fix coro-eh-cleanup.cpp test 2017-05-22 22:41:28 +00:00
coro-gro.cpp [coroutines] Implement correct GRO lifetime 2017-05-24 02:38:26 +00:00
coro-lambda.cpp [coroutines] Make generic lambda coroutines work 2017-05-24 15:44:57 +00:00
coro-params.cpp [coroutines] Add support for coroutines with non-scalar parameters 2017-05-24 20:09:14 +00:00
coro-promise-dtor.cpp [coroutines] [NFC] Add tests for return_void, unhandled_exception and promise dtor 2017-05-24 14:19:48 +00:00
coro-ret-void.cpp [coroutines] [NFC] Add tests for return_void, unhandled_exception and promise dtor 2017-05-24 14:19:48 +00:00
coro-return.cpp [coroutines] Add cleanup for compiler injected objects/allocations in coroutine body 2017-04-01 00:22:47 +00:00
coro-unhandled-exception.cpp [coroutines] [NFC] Add tests for return_void, unhandled_exception and promise dtor 2017-05-24 14:19:48 +00:00
microsoft-abi-operator-coawait.cpp