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

Akash Banerjee via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 08:34:19 PDT 2024


================
@@ -99,14 +100,20 @@ class OpenMPIRBuilderConfig {
   /// expanded.
   std::optional<bool> IsGPU;
 
-  // Flag for specifying if offloading is mandatory.
+  /// Flag for specifying if LLVMUsed information should be emitted.
+  std::optional<bool> EmitLLVMUsed;
----------------
TIFitis wrote:

I've changed the name to `EmitLLVMUsedMetaInfo`, please let me know if you have a better name.

I don't think we have such a use case. I've updated the current code to check the flag is set before checking it.

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


More information about the cfe-commits mailing list