[PATCH] D61488: [OpenCL] Make global ctor init function a kernel

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 05:02:36 PDT 2019


Anastasia marked an inline comment as done.
Anastasia added inline comments.


================
Comment at: lib/CodeGen/CodeGenModule.cpp:1231
+  assert(((FD && CGF) || (!FD && !CGF)) &&
+         "Incorrect use - FD and CFG should either be both null or not!");
+  // Create MDNodes that represent the kernel arg metadata.
----------------
CFG -> CGF


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

https://reviews.llvm.org/D61488





More information about the cfe-commits mailing list