[Mlir-commits] [mlir] [mlir][emitc] Add 'emitc.switch' op to the dialect (PR #102331)

Marius Brehler llvmlistbot at llvm.org
Fri Aug 9 01:29:28 PDT 2024


================
@@ -0,0 +1,345 @@
+// RUN: mlir-translate -mlir-to-cpp %s | FileCheck %s
----------------
marbre wrote:

Can please take a look if anything breaks when passing `-declare-variables-at-top` and eventually add a test, see e.g.:

https://github.com/llvm/llvm-project/blob/7e175b307e12a616b287f58af0fbfd8d9164e364/mlir/test/Target/Cpp/for.mlir#L1-L2


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


More information about the Mlir-commits mailing list