diff --git a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn index d8f067aa74f3..4816c1a4f15a 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 42458bf74716..ff2568b086ed 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 23921531b57f..8a286bede6eb 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 000000000000..dc069d44da60 --- /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" ] +}