[PATCH] D22637: [OpenCL] Add extension cl_khr_mipmap_image to clang

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 09:35:03 PDT 2016


Anastasia added inline comments.

================
Comment at: test/Misc/amdgcn.languageOptsOpenCL.cl:188
@@ +187,3 @@
+#endif
+// expected-warning at +6{{unsupported OpenCL extension 'cl_khr_mipmap_image' - ignoring}}
+#else
----------------
Can you move this error message down instead of adding 6 lines offset.
Also the extension seems to be set by default although it's hard to see without the full diff. So why do you get this warning at all?

================
Comment at: test/SemaOpenCL/extension-version.cl:228
@@ +227,3 @@
+#endif
+// expected-warning at +6{{unsupported OpenCL extension 'cl_khr_mipmap_image' - ignoring}}
+#else
----------------
Can you move this error message down instead of adding 6 lines offset.


Repository:
  rL LLVM

https://reviews.llvm.org/D22637





More information about the cfe-commits mailing list