yaxunl added inline comments.

================
Comment at: test/Misc/amdgcn.languageOptsOpenCL.cl:190
@@ +189,3 @@
+// expected-warning@-1{{unsupported OpenCL extension 'cl_khr_mipmap_image' - 
ignoring}}
+#endif
+
----------------
we also need to check the else case for `__OPENCL_C_VERSION__ < 200` that 
cl_khr_mipmap_image is defined and no warning msg for #pragma OPENCL EXTENSION 
cl_khr_mipmap_image: enable


Repository:
  rL LLVM

https://reviews.llvm.org/D22637



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to