[llvm] [mlir][bazel] Fix Bazel build after 6bb8f6f2d0ed672217e0a0521afc5b86913b717e (PR #153811)
Benjamin Chetioui via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 15 07:24:01 PDT 2025
https://github.com/bchetioui created https://github.com/llvm/llvm-project/pull/153811
None
>From 01b4c20810965d2f0e0ae58aa4655f07791cb9ed Mon Sep 17 00:00:00 2001
From: Benjamin Chetioui <bchetioui at google.com>
Date: Fri, 15 Aug 2025 14:22:27 +0000
Subject: [PATCH] [mlir][bazel] Fix Bazel build after
6bb8f6f2d0ed672217e0a0521afc5b86913b717e.
---
.../llvm-project-overlay/mlir/BUILD.bazel | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 85049ff8339c1..2f99bf9f95315 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -6916,6 +6916,25 @@ cc_library(
],
)
+cc_library(
+ name = "WasmTranslationRegistration",
+ srcs = [
+ "lib/Target/Wasm/TranslateFromWasm.cpp",
+ "lib/Target/Wasm/TranslateRegistration.cpp",
+ ],
+ hdrs = [
+ "include/mlir/Target/Wasm/WasmBinaryEncoding.h",
+ "include/mlir/Target/Wasm/WasmImporter.h",
+ ],
+ includes = ["include"],
+ deps = [
+ ":IR",
+ ":TranslateLib",
+ ":WasmSSADialect",
+ "//llvm:Support",
+ ],
+)
+
td_library(
name = "TensorOpsTdFiles",
srcs = [
@@ -8708,6 +8727,7 @@ cc_library(
":TargetCpp",
":TargetSMTLIB",
":ToLLVMIRTranslationRegistration",
+ ":WasmTranslationRegistration",
],
)
More information about the llvm-commits
mailing list