[PATCH] D24666: [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled
Anastasia Stulova via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 17 12:49:22 PDT 2016
Anastasia added inline comments.
================
Comment at: lib/Sema/SemaDecl.cpp:7600
@@ +7599,3 @@
+ // Do not diagnose half type since it is diagnosed as invalid argument
+ // type for any function eleswhere.
+ if (!PT->isHalfType())
----------------
-> elsewhere
https://reviews.llvm.org/D24666
More information about the cfe-commits
mailing list