C++ is derived from OpenCL v2.0 therefore set the versions to the same.
In the future we might need to add extra version for CXX.
Paths
| Differential D62657
[OpenCL] Fix OpenCL/SPIR version metadata ClosedPublic Authored by Anastasia on May 30 2019, 6:12 AM.
Details Summary C++ is derived from OpenCL v2.0 therefore set the versions to the same. In the future we might need to add extra version for CXX.
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 30 2019, 6:54 AM Closed by commit rC362102: [OpenCL] Fix OpenCL/SPIR version metadata in C++ mode. (authored by stulova). · Explain WhyMay 30 2019, 11:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 202169 lib/CodeGen/CodeGenModule.cpp
test/CodeGenOpenCL/spir_version.cl
|