sameerds added inline comments.

================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:9434
+  if (Callee &&
+      (Callee->getName() == "__ockl_call_host_function" ||
+       Callee->getName() == "__ockl_fprintf_stderr_begin")) {
----------------
Just to confirm what others have probably disovered, the only function whose 
presence should be checked is ``__ockl_hostcall_internal``. All others are 
wrappers that are free to disappear during optimization.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115283/new/

https://reviews.llvm.org/D115283

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

Reply via email to