[Openmp-commits] [openmp] [llvm] [clang] ReworkCtorDtor (PR #71739)

Artem Belevich via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 8 14:42:47 PST 2023


================
@@ -95,7 +95,7 @@ using namespace llvm;
 static cl::opt<bool>
     LowerCtorDtor("nvptx-lower-global-ctor-dtor",
                   cl::desc("Lower GPU ctor / dtors to globals on the device."),
-                  cl::init(false), cl::Hidden);
+                  cl::init(true), cl::Hidden);
----------------
Artem-B wrote:

Allowing ctor generation based on module metadata may indeed be a reasonable way to deal with it.

https://github.com/llvm/llvm-project/pull/71739


More information about the Openmp-commits mailing list