[PATCH] Emit OpenCL local global variables without zeorinitializer

Matt Arsenault Matthew.Arsenault at amd.com
Sun Nov 2 16:09:32 PST 2014


Local variables are not initialized, and every target has
been (incorrectly) ignoring the unnecessary request for
zero initialization.

http://reviews.llvm.org/D6077

Files:
  lib/CodeGen/CGDecl.cpp
  test/CodeGenOpenCL/local-initializer-undef.cl
  test/CodeGenOpenCL/local.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6077.15678.patch
Type: text/x-patch
Size: 2579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141103/b4f13743/attachment.bin>


More information about the cfe-commits mailing list