diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt
index 0144b28d2e0..77e738b8b59 100644
--- a/lib/Support/CMakeLists.txt
+++ b/lib/Support/CMakeLists.txt
@@ -18,6 +18,7 @@ add_llvm_library(LLVMSupport
   MemoryBuffer.cpp
   PluginLoader.cpp
   PrettyStackTrace.cpp
+  Regex.cpp
   SlowOperationInformer.cpp
   SmallPtrSet.cpp
   SourceMgr.cpp
@@ -32,7 +33,6 @@ add_llvm_library(LLVMSupport
   Twine.cpp
   raw_os_ostream.cpp
   raw_ostream.cpp
-  Regex.cpp
   regcomp.c
   regerror.c
   regexec.c
diff --git a/lib/Transforms/Instrumentation/CMakeLists.txt b/lib/Transforms/Instrumentation/CMakeLists.txt
index d7c518d282f..83e12e12d82 100644
--- a/lib/Transforms/Instrumentation/CMakeLists.txt
+++ b/lib/Transforms/Instrumentation/CMakeLists.txt
@@ -1,6 +1,7 @@
 add_llvm_library(LLVMInstrumentation
   BlockProfiling.cpp
   EdgeProfiling.cpp
+  MaximumSpanningTree.cpp
   ProfilingUtils.cpp
   RSProfiling.cpp
   )