Go to file
Siddharth Bhat 43f178bbc9 [PPCGCodeGeneration] Skip arrays with empty extent.
Invariant load hoisted scalars, and arrays whose size we can statically compute
to be 0 do not need to be allocated as arrays.

Invariant load hoisted scalars are sent to the kernel directly as parameters.

Earlier, we used to allocate `0` bytes of memory for these because our
computation of size from `PPCGCodeGeneration::getArraySize` would result in `0`.

Now, since we don't invariant loads as arrays in PPCGCodeGeneration, this
problem does not occur anymore.

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

llvm-svn: 308971
2017-07-25 12:35:36 +00:00
clang Fix spelling of FileCheck in test. 2017-07-25 11:34:55 +00:00
clang-tools-extra [clangd] Reuse compile commands during reparse 2017-07-25 11:37:43 +00:00
compiler-rt Add .pyc files to .gitignore to compiler-rt 2017-07-24 21:51:12 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Remove addtional parameters in function std::next() and std::prev() 2017-07-24 22:17:05 +00:00
libcxxabi Update version to 6.0.0svn 2017-07-19 13:42:18 +00:00
libunwind [libunwind] Handle .ARM.exidx tables without sentinel last entry 2017-07-24 09:19:32 +00:00
lld [ELF] - Fix init_fini_priority.s test. 2017-07-25 09:26:35 +00:00
lldb Extend 'target symbols add' to load symbols from a given module 2017-07-24 22:52:39 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [LIR] Teach LIR to avoid extending the BE count prior to adding one to 2017-07-25 10:48:32 +00:00
openmp Whitespace. 2017-07-20 23:12:39 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [PPCGCodeGeneration] Skip arrays with empty extent. 2017-07-25 12:35:36 +00:00