summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/CMakeLists.txt1
-rw-r--r--llvm/tools/bugpoint-passes/CMakeLists.txt3
-rw-r--r--llvm/tools/bugpoint/CMakeLists.txt1
3 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt
index b9c77b1c8a3..6ca57302d23 100644
--- a/llvm/tools/CMakeLists.txt
+++ b/llvm/tools/CMakeLists.txt
@@ -29,6 +29,7 @@ add_subdirectory(lli)
add_subdirectory(llvm-extract)
add_subdirectory(bugpoint)
+add_subdirectory(bugpoint-passes)
add_subdirectory(llvm-bcanalyzer)
add_subdirectory(llvm-stub)
add_subdirectory(edis)
diff --git a/llvm/tools/bugpoint-passes/CMakeLists.txt b/llvm/tools/bugpoint-passes/CMakeLists.txt
new file mode 100644
index 00000000000..50109a52c24
--- /dev/null
+++ b/llvm/tools/bugpoint-passes/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_llvm_loadable_module( BugpointPasses
+ TestPasses.cpp
+ )
diff --git a/llvm/tools/bugpoint/CMakeLists.txt b/llvm/tools/bugpoint/CMakeLists.txt
index 34b759fd879..e06feb10031 100644
--- a/llvm/tools/bugpoint/CMakeLists.txt
+++ b/llvm/tools/bugpoint/CMakeLists.txt
@@ -9,7 +9,6 @@ add_llvm_tool(bugpoint
FindBugs.cpp
Miscompilation.cpp
OptimizerDriver.cpp
- TestPasses.cpp
ToolRunner.cpp
bugpoint.cpp
)
OpenPOWER on IntegriCloud