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

Gil Rapaport llvmlistbot at llvm.org
Mon Sep 25 11:25:40 PDT 2023


================
@@ -0,0 +1,70 @@
+// RUN: mlir-opt -allow-unregistered-dialect -convert-scf-to-emitc %s | FileCheck %s
+
+func.func @test_if(%arg0: i1, %arg1: f32) {
+  emitc.if %arg0 {
----------------
aniragil wrote:

Right

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


More information about the Mlir-commits mailing list