[flang-commits] [flang] [flang][OpenMP] Rewrite `omp.loop` to semantically equivalent ops (PR #115443)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Tue Nov 26 07:48:34 PST 2024
================
@@ -50,9 +50,30 @@ def FunctionFilteringPass : Pass<"omp-function-filtering"> {
];
}
+
// Needs to be scheduled on Module as we create functions in it
def LowerWorkshare : Pass<"lower-workshare", "::mlir::ModuleOp"> {
let summary = "Lower workshare construct";
}
+def GenericLoopConversionPass
+ : Pass<"omp-generic-loop-conversion", "mlir::func::FuncOp"> {
+ let summary = "Converts OpenMP generic `loop` directive to semantically "
+ "equivalent OpenMP ops";
+ let description = [{
+ Rewrites `loop` ops to their semantically equivalent nest of ops. The
----------------
skatrak wrote:
```suggestion
Rewrites `omp.loop` ops to their semantically equivalent nest of ops. The
```
https://github.com/llvm/llvm-project/pull/115443
More information about the flang-commits
mailing list