[llvm] [Bazel] Fix build break for SandboxVectorizer (PR #108638)

Pranav Kant via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 12:55:43 PDT 2024


https://github.com/pranavk created https://github.com/llvm/llvm-project/pull/108638

None

>From 278db2a39bfa0a3ed43b8577039e92beda67970e Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Fri, 13 Sep 2024 19:55:04 +0000
Subject: [PATCH] [Bazel] Fix build break for SandboxVectorizer

---
 utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
index 2af3fb40507ed9..06795ebb204bdd 100644
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -1488,10 +1488,12 @@ cc_library(
         "lib/Transforms/Vectorize/*.cpp",
         "lib/Transforms/Vectorize/*.h",
         "lib/Transforms/Vectorize/SandboxVectorizer/*.cpp",
+        "lib/Transforms/Vectorize/SandboxVectorizer/Passes/*.cpp",
     ]),
     hdrs = glob([
         "include/llvm/Transforms/Vectorize/*.h",
-        "include/llvm/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.h",
+        "include/llvm/Transforms/Vectorize/SandboxVectorizer/*.h",
+        "include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/*.h"
     ]),
     copts = llvm_copts,
     deps = [



More information about the llvm-commits mailing list