[llvm] 1cce1b4 - [gn] port 318d2f5e5d4d8 (SandboxVectorizerTests)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 12:45:40 PDT 2024


Author: Nico Weber
Date: 2024-09-17T15:45:22-04:00
New Revision: 1cce1b46ddd04b89390fb7e781c928b7431bec14

URL: https://github.com/llvm/llvm-project/commit/1cce1b46ddd04b89390fb7e781c928b7431bec14
DIFF: https://github.com/llvm/llvm-project/commit/1cce1b46ddd04b89390fb7e781c928b7431bec14.diff

LOG: [gn] port 318d2f5e5d4d8 (SandboxVectorizerTests)

Added: 
    llvm/utils/gn/secondary/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/BUILD.gn

Modified: 
    llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
    llvm/utils/gn/secondary/llvm/unittests/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
index 24413165eec57c..0900872d444939 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/Vectorize/BUILD.gn
@@ -13,6 +13,7 @@ static_library("Vectorize") {
     "LoopVectorizationLegality.cpp",
     "LoopVectorize.cpp",
     "SLPVectorizer.cpp",
+    "SandboxVectorizer/DependencyGraph.cpp",
     "SandboxVectorizer/Passes/BottomUpVec.cpp",
     "SandboxVectorizer/SandboxVectorizer.cpp",
     "VPlan.cpp",

diff  --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index 02c913ab53bc70..95279099fa53b4 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -59,6 +59,7 @@ group("unittests") {
     "Transforms/Scalar:ScalarTests",
     "Transforms/Utils:UtilsTests",
     "Transforms/Vectorize:VectorizeTests",
+    "Transforms/Vectorize/SandboxVectorizer:SandboxVectorizerTests",
     "XRay:XRayTests",
     "tools/llvm-cfi-verify:CFIVerifyTests",
     "tools/llvm-exegesis:LLVMExegesisTests",

diff  --git a/llvm/utils/gn/secondary/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/BUILD.gn
new file mode 100644
index 00000000000000..f9f519cf65dae0
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/BUILD.gn
@@ -0,0 +1,13 @@
+import("//third-party/unittest/unittest.gni")
+
+unittest("SandboxVectorizerTests") {
+  deps = [
+    "//llvm/lib/Analysis",
+    "//llvm/lib/AsmParser",
+    "//llvm/lib/IR",
+    "//llvm/lib/SandboxIR",
+    "//llvm/lib/TargetParser",
+    "//llvm/lib/Transforms/Vectorize",
+  ]
+  sources = [ "DependencyGraphTest.cpp" ]
+}


        


More information about the llvm-commits mailing list