[Mlir-commits] [flang] [llvm] [mlir] [flang][OpenMP][MLIR] Add MLIR op for loop directive (PR #113911)

Sergio Afonso llvmlistbot at llvm.org
Thu Oct 31 08:26:00 PDT 2024


================
@@ -382,6 +382,50 @@ def LoopNestOp : OpenMP_Op<"loop_nest", traits = [
 // 2.9.2 Workshare Loop Construct
 //===----------------------------------------------------------------------===//
 
+def LoopOp : OpenMP_Op<"loop", traits = [
+    DeclareOpInterfaceMethods<LoopWrapperInterface>, NoTerminator, SingleBlock,
+    AttrSizedOperandSegments
----------------
skatrak wrote:

Ultra-nit: Alphabetical sorting of traits.

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


More information about the Mlir-commits mailing list