[Mlir-commits] [mlir] [MLIR][Wasm] Introduce the WasmSSA MLIR dialect (PR #149233)
Jacques Pienaar
llvmlistbot at llvm.org
Thu Jul 31 07:26:26 PDT 2025
================
@@ -0,0 +1,138 @@
+//===-- WasmSSAInterfaces.td - WasmSSA Interfaces -*- tablegen -*--===//
+//
+// 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 defines interfaces for the WasmSSA dialect in MLIR.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef WasmSSA_INTERFACES
+#define WasmSSA_INTERFACES
+
+include "mlir/IR/OpBase.td"
+include "mlir/IR/BuiltinAttributes.td"
+
+def LabelLevelOpInterface : OpInterface<"LabelLevelOpInterface"> {
+ let cppNamespace = "::mlir::wasmssa";
+ let description = [{
+ Operation that defines one level of nesting for wasm branching.
----------------
jpienaar wrote:
Nit: s/wasm/Wasm/ (as that seems the most used)
https://github.com/llvm/llvm-project/pull/149233
More information about the Mlir-commits
mailing list