diff options
author | Scott Linder <scott@scottlinder.com> | 2018-08-07 15:52:49 +0000 |
---|---|---|
committer | Scott Linder <scott@scottlinder.com> | 2018-08-07 15:52:49 +0000 |
commit | f8b3df4decd9ff887451779b511fa7dc8936e3a9 (patch) | |
tree | 3582e1e345de8a377cba90008e5159667eee4372 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 950576bdf82aba26456c24061e72cf5e8999b608 (diff) | |
download | bcm5719-llvm-f8b3df4decd9ff887451779b511fa7dc8936e3a9.tar.gz bcm5719-llvm-f8b3df4decd9ff887451779b511fa7dc8936e3a9.zip |
[OpenCL] Restore r338899 (reverted in r338904), fixing stack-use-after-return
Always emit alloca in entry block for enqueue_kernel builtin.
Ensures the statically sized alloca is not converted to DYNAMIC_STACKALLOC
later because it is not in the entry block.
llvm-svn: 339150
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions