[Mlir-commits] [mlir] [MLIR][OpenMP] Remove Generic-SPMD early detection (PR #150922)

Michael Kruse llvmlistbot at llvm.org
Mon Jul 28 04:33:40 PDT 2025


================
@@ -227,15 +227,13 @@ def ScheduleModifierAttr : OpenMP_EnumAttr<ScheduleModifier, "sched_mod">;
 //===----------------------------------------------------------------------===//
 
 def TargetRegionFlagsNone : I32BitEnumAttrCaseNone<"none">;
-def TargetRegionFlagsGeneric : I32BitEnumAttrCaseBit<"generic", 0>;
-def TargetRegionFlagsSpmd : I32BitEnumAttrCaseBit<"spmd", 1>;
-def TargetRegionFlagsTripCount : I32BitEnumAttrCaseBit<"trip_count", 2>;
+def TargetRegionFlagsSpmd : I32BitEnumAttrCaseBit<"spmd", 0>;
----------------
Meinersbur wrote:

Wasn't this intended to correspond to the `OMP_TGT_EXEC_MODE_SPMD = 1 << 1` flag? Is there some comments/doxygen explaining what those flags mean?

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


More information about the Mlir-commits mailing list