[llvm] [Offload] Check for initialization (PR #144370)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 05:22:04 PDT 2025


================
@@ -82,6 +82,10 @@ static void EmitEntryPointFunc(const FunctionRec &F, raw_ostream &OS) {
   }
   OS << ") {\n";
 
+  // Check offload is inited
----------------
jhuber6 wrote:

I'm not a fan of `inited` as short for `initialized`.

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


More information about the llvm-commits mailing list