[llvm] eca963f - [gn build] Add MLAnalysisTests after D80579
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed May 27 17:21:31 PDT 2020
Author: Fangrui Song
Date: 2020-05-27T17:21:05-07:00
New Revision: eca963f244c711ab51e1e645241562987c0f8fbf
URL: https://github.com/llvm/llvm-project/commit/eca963f244c711ab51e1e645241562987c0f8fbf
DIFF: https://github.com/llvm/llvm-project/commit/eca963f244c711ab51e1e645241562987c0f8fbf.diff
LOG: [gn build] Add MLAnalysisTests after D80579
Added:
llvm/utils/gn/secondary/llvm/unittests/Analysis/ML/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/unittests/Analysis/ML/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Analysis/ML/BUILD.gn
new file mode 100644
index 000000000000..8c924603358b
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/Analysis/ML/BUILD.gn
@@ -0,0 +1,15 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("MLAnalysisTests") {
+ deps = [
+ "//llvm/lib/Analysis",
+ "//llvm/lib/AsmParser",
+ "//llvm/lib/IR",
+ "//llvm/lib/Analysis/ML:MLPolicies",
+ "//llvm/lib/Support",
+ "//llvm/lib/Transforms/Utils",
+ ]
+ sources = [
+ "InlineFeaturesAnalysisTest.cpp",
+ ]
+}
diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index 3d960d501e42..23557304b571 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -4,6 +4,7 @@ group("unittests") {
deps = [
"ADT:ADTTests",
"Analysis:AnalysisTests",
+ "Analysis/ML:MLAnalysisTests",
"AsmParser:AsmParserTests",
"BinaryFormat:BinaryFormatTests",
"Bitcode:BitcodeTests",
More information about the llvm-commits
mailing list