[gn build] (manually) port b9c05aff20 (MIRTests)

This commit is contained in:
Nico Weber 2021-06-19 13:03:51 -04:00
parent c931e12b1d
commit 1605fce6c3
4 changed files with 20 additions and 0 deletions

View File

@ -120,6 +120,7 @@ static_library("CodeGen") {
"MachineLoopUtils.cpp",
"MachineModuleInfo.cpp",
"MachineModuleInfoImpls.cpp",
"MachineModuleSlotTracker.cpp",
"MachineOperand.cpp",
"MachineOptimizationRemarkEmitter.cpp",
"MachineOutliner.cpp",

View File

@ -29,6 +29,7 @@ group("unittests") {
"Linker:LinkerTests",
"MC:MCTests",
"MI:MITests",
"MIR:MIRTests",
"Object:ObjectTests",
"ObjectYAML:ObjectYAMLTests",
"Option:OptionTests",

View File

@ -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",

View File

@ -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" ]
}