[llvm] 1605fce - [gn build] (manually) port b9c05aff205b (MIRTests)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 19 10:04:20 PDT 2021
Author: Nico Weber
Date: 2021-06-19T13:04:09-04:00
New Revision: 1605fce6c3074f8d1dff5a917a1840ffa66abd86
URL: https://github.com/llvm/llvm-project/commit/1605fce6c3074f8d1dff5a917a1840ffa66abd86
DIFF: https://github.com/llvm/llvm-project/commit/1605fce6c3074f8d1dff5a917a1840ffa66abd86.diff
LOG: [gn build] (manually) port b9c05aff205b (MIRTests)
Added:
llvm/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
index d8f067aa74f32..4816c1a4f15a6 100644
--- a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
@@ -120,6 +120,7 @@ static_library("CodeGen") {
"MachineLoopUtils.cpp",
"MachineModuleInfo.cpp",
"MachineModuleInfoImpls.cpp",
+ "MachineModuleSlotTracker.cpp",
"MachineOperand.cpp",
"MachineOptimizationRemarkEmitter.cpp",
"MachineOutliner.cpp",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index 42458bf747168..ff2568b086ede 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -29,6 +29,7 @@ group("unittests") {
"Linker:LinkerTests",
"MC:MCTests",
"MI:MITests",
+ "MIR:MIRTests",
"Object:ObjectTests",
"ObjectYAML:ObjectYAMLTests",
"Option:OptionTests",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
index 23921531b57f2..8a286bede6eb3 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
@@ -7,6 +7,7 @@ unittest("CodeGenTests") {
"//llvm/lib/CodeGen",
"//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/CodeGen/SelectionDAG",
+ "//llvm/lib/FileCheck",
"//llvm/lib/IR",
"//llvm/lib/MC",
"//llvm/lib/Passes",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn
new file mode 100644
index 0000000000000..dc069d44da602
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn
@@ -0,0 +1,17 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("MIRTests") {
+ deps = [
+
+ "//llvm/lib/CodeGen",
+ "//llvm/lib/IR",
+ "//llvm/lib/FileCheck",
+ "//llvm/lib/MC",
+ "//llvm/lib/CodeGen/MIRParser",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target",
+ "//llvm/lib/Target:TargetsToBuild",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [ "MachineMetadata.cpp" ]
+}
More information about the llvm-commits
mailing list