diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2017-06-01 01:15:25 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-06-01 01:15:25 +0000 |
commit | 050e79e958caa6583af15dae5768d9894e62e1c5 (patch) | |
tree | 6c48ad815e12a2f45854de76ecadec83fbab4d6a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ab194a26da64f372eeb0becbcf2264860ff9135e (diff) | |
download | llvm-050e79e958caa6583af15dae5768d9894e62e1c5.zip llvm-050e79e958caa6583af15dae5768d9894e62e1c5.tar.gz llvm-050e79e958caa6583af15dae5768d9894e62e1c5.tar.bz2 |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions