diff --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn index 7c6a31636ad0..00acd5a38e11 100644 --- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn @@ -234,6 +234,7 @@ group("test") { "//llvm/tools/llvm-profdata", "//llvm/tools/llvm-rc", "//llvm/tools/llvm-readobj:symlinks", + "//llvm/tools/llvm-reduce", "//llvm/tools/llvm-rtdyld", "//llvm/tools/llvm-size", "//llvm/tools/llvm-split", diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn new file mode 100644 index 000000000000..2d54f219fd21 --- /dev/null +++ b/llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn @@ -0,0 +1,16 @@ +executable("llvm-reduce") { + deps = [ + "//llvm/lib/IR", + "//llvm/lib/IRReader", + "//llvm/lib/Support", + "//llvm/lib/Target", + "//llvm/lib/Target:TargetsToBuild", + "//llvm/lib/Transforms/Utils", + ] + sources = [ + "llvm-reduce.cpp", + "TestRunner.cpp", + "deltas/Delta.cpp", + "deltas/ReduceFunctions.cpp", + ] +}