[Layering] Move GVMaterializer.h into the IR library where its
[oota-llvm.git] / lib / IR / CMakeLists.txt
index b0feb9a073b8b367124f339cf1af9068161273eb..09117aaf5f2d1308eaadcd5543dfdb843135e52f 100644 (file)
@@ -4,6 +4,7 @@ add_llvm_library(LLVMCore
   AutoUpgrade.cpp
   BasicBlock.cpp
   ConstantFold.cpp
+  ConstantRange.cpp
   Constants.cpp
   Core.cpp
   DiagnosticInfo.cpp
@@ -18,6 +19,7 @@ add_llvm_library(LLVMCore
   GVMaterializer.cpp
   Globals.cpp
   IRBuilder.cpp
+  IRPrintingPasses.cpp
   InlineAsm.cpp
   Instruction.cpp
   Instructions.cpp
@@ -32,7 +34,6 @@ add_llvm_library(LLVMCore
   Pass.cpp
   PassManager.cpp
   PassRegistry.cpp
-  PrintModulePass.cpp
   Type.cpp
   TypeFinder.cpp
   Use.cpp
@@ -43,13 +44,4 @@ add_llvm_library(LLVMCore
   Verifier.cpp
   )
 
-# Workaround: It takes over 20 minutes to compile with msvc10.
-# FIXME: Suppressing optimizations to core libraries would not be good thing.
-if( MSVC_VERSION LESS 1700 )
-set_property(
-  SOURCE Function.cpp
-  PROPERTY COMPILE_FLAGS "/Og-"
-  )
-endif()
-
 add_dependencies(LLVMCore intrinsics_gen)