[Mlir-commits] [mlir] Add a structured if operation (PR #67234)

Simon Camphausen llvmlistbot at llvm.org
Mon Sep 25 08:24:46 PDT 2023


================
@@ -0,0 +1,131 @@
+//===- SCFToEmitC.cpp - SCF to CF conversion ------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements a pass to convert scf.for, scf.if and loop.terminator
+// ops into standard CFG ops.
----------------
simon-camp wrote:

```suggestion
// This file implements a pass to convert scf.if ops into emitc ops.
```

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


More information about the Mlir-commits mailing list