[clang] [llvm] [mlir] [OpenMP] Migrate GPU Reductions CodeGen from Clang to OMPIRBuilder (PR #80343)

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 14:35:11 PDT 2024


================
@@ -145,6 +145,8 @@ static bool isValidWorkshareLoopScheduleType(OMPScheduleType SchedType) {
 }
 #endif
 
+Function *GLOBAL_ReductionFunc = nullptr;
----------------
jdoerfert wrote:

We should (almost) never have globals flying around. What is going on here?

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


More information about the cfe-commits mailing list