[PATCH] D50218: [OpenMP] Encode offload target triples into comdat key for offload initialization code

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 3 10:37:06 PDT 2018


ABataev added inline comments.


================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:3825
+    // this particular combination of offloading targets.
+    SmallVector<StringRef, 4U> RegFnNameParts;
+    RegFnNameParts.push_back("omp_offloading");
----------------
Preallocate the memory for all elements at construction, you know the number of elements.


https://reviews.llvm.org/D50218





More information about the cfe-commits mailing list