[PATCH] D27453: [OpenCL] Enable unroll hint for OpenCL 1.x.
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 6 09:12:07 PST 2016
Anastasia added inline comments.
================
Comment at: lib/Sema/SemaStmtAttr.cpp:232
- if (S.getLangOpts().OpenCLVersion < 200) {
- S.Diag(A.getLoc(), diag::err_attribute_requires_opencl_version)
----------------
The comment above refers to v2.0, could we update it reflecting the fact that we now allow the feature in all OpenCL versions.
https://reviews.llvm.org/D27453
More information about the cfe-commits
mailing list