[PATCH] D51411: [OpenCL] Improve diagnostic of argument in address space conversion builtins

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 29 06:58:20 PDT 2018


yaxunl added inline comments.


================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:8584
+  "passing non-generic address space pointer to %0"
+  " generates dynamic conversion where it is not needed">;
 
----------------
How about change this to:

may cause dynamic conversion affecting performance


https://reviews.llvm.org/D51411





More information about the cfe-commits mailing list