Local variables are not initialized, and every target has
been (incorrectly) ignoring the unnecessary request for
zero initialization.
Details
Details
- Reviewers
joey
Diff Detail
Diff Detail
Paths
| Differential D6077
Emit OpenCL local global variables without zeorinitializer
ClosedPublic Authored by arsenm on Nov 2 2014, 4:09 PM.
Details
Summary Local variables are not initialized, and every target has
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Nov 3 2014, 6:05 AM
Revision Contents
Diff 15678 lib/CodeGen/CGDecl.cpp
test/CodeGenOpenCL/local-initializer-undef.cl
test/CodeGenOpenCL/local.cl
|
Use 'Ty' (initialised on line 179)