[llvm] [NVPTX] Allow the ctor/dtor lowering pass to emit kernels (PR #71549)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 11:41:46 PST 2023
================
@@ -32,6 +33,11 @@ static cl::opt<std::string>
cl::desc("Override unique ID of ctor/dtor globals."),
cl::init(""), cl::Hidden);
+static cl::opt<bool>
+ CreateKernels("nvptx-lower-global-ctor-dtor-kernel",
----------------
jhuber6 wrote:
Works for me.
https://github.com/llvm/llvm-project/pull/71549
More information about the llvm-commits
mailing list