From 9031113340c97fb7e02568566a4aa7038c7f9e89 Mon Sep 17 00:00:00 2001 From: Jeremy Kun Date: Tue, 17 Dec 2024 17:57:34 -0800 Subject: [PATCH] fix build error PiperOrigin-RevId: 707324509 --- lib/Dialect/LWE/Conversions/LWEToOpenfhe/LWEToOpenfhe.cpp | 6 ++---- tests/Examples/openfhe/BUILD | 8 -------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/lib/Dialect/LWE/Conversions/LWEToOpenfhe/LWEToOpenfhe.cpp b/lib/Dialect/LWE/Conversions/LWEToOpenfhe/LWEToOpenfhe.cpp index 9df3aa485..46b3a2a47 100644 --- a/lib/Dialect/LWE/Conversions/LWEToOpenfhe/LWEToOpenfhe.cpp +++ b/lib/Dialect/LWE/Conversions/LWEToOpenfhe/LWEToOpenfhe.cpp @@ -209,8 +209,7 @@ struct ConvertEncodeOp : public OpConversionPattern { op.getEncoding())); return llvm::TypeSwitch(op.getEncoding()) - .Case([&](auto encoding) { + .Case([&](auto encoding) { rewriter.replaceOpWithNewOp( op, plaintextType, cryptoContext, input); return success(); @@ -221,8 +220,7 @@ struct ConvertEncodeOp : public OpConversionPattern { " when targeting OpenFHE"; return failure(); }) - .Case([&](auto encoding) { + .Case([&](auto encoding) { rewriter.replaceOpWithNewOp( op, plaintextType, cryptoContext, input); return success(); diff --git a/tests/Examples/openfhe/BUILD b/tests/Examples/openfhe/BUILD index 3248b5574..af82efa08 100644 --- a/tests/Examples/openfhe/BUILD +++ b/tests/Examples/openfhe/BUILD @@ -1,7 +1,6 @@ # See README.md for setup required to run these tests load("@heir//tests/Examples/openfhe:test.bzl", "openfhe_end_to_end_test") -load("//tools/build_defs/testing:bzl_library.bzl", "bzl_library") package(default_applicable_licenses = ["@heir//:license"]) @@ -96,10 +95,3 @@ openfhe_end_to_end_test( tags = ["notap"], test_src = "halevi_shoup_matmul_test.cpp", ) - -bzl_library( - name = "test_bzl", - srcs = ["test.bzl"], - parse_tests = False, - visibility = ["//visibility:private"], -)