================
@@ -127,25 +127,30 @@ struct LoweringPreparePass
   /// Get the declaration for the 'wrapper' function for a global-TLS variable.
   cir::FuncOp getOrCreateThreadLocalWrapper(CIRBaseBuilderTy &builder,
                                             cir::GlobalOp op);
-  // Function that generates the guard global variable, get-global, and 'if'
-  // condition for global TLS init function generation. This inserts an 'if'
-  // with the store at the beginning of the 'then' region, so inserts into the
-  // body should happen after that.
-  cir::IfOp buildGlobalTlsGuardCheck(CIRBaseBuilderTy &builder,
-                                     mlir::Location loc, cir::GlobalOp guard);
+  // Function that generates the get-global and 'if' condition on a guard
----------------
keryell wrote:

The PR has already be rebased, so I guess it is good.

https://github.com/llvm/llvm-project/pull/229648
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to