X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FIR%2FCMakeLists.txt;h=eb67c525ce21c78dc9710b65604d49673ea00cd4;hb=7bf22cd500244de45ea3b697060385c0bb4a2298;hp=d2e0c383c827ee20ee0eaaf018b10ab7153e66ba;hpb=8d61ee9e7df8ca3a3194dca4f1d16a5e731c1f07;p=oota-llvm.git diff --git a/lib/IR/CMakeLists.txt b/lib/IR/CMakeLists.txt index d2e0c383c82..eb67c525ce2 100644 --- a/lib/IR/CMakeLists.txt +++ b/lib/IR/CMakeLists.txt @@ -1,3 +1,7 @@ +set(LLVM_TARGET_DEFINITIONS AttributesCompatFunc.td) +tablegen(LLVM AttributesCompatFunc.inc -gen-attrs) +add_public_tablegen_target(AttributeCompatFuncTableGen) + add_llvm_library(LLVMCore AsmWriter.cpp Attributes.cpp @@ -34,10 +38,12 @@ add_llvm_library(LLVMCore Metadata.cpp MetadataTracking.cpp Module.cpp + Operator.cpp Pass.cpp PassManager.cpp PassRegistry.cpp Statepoint.cpp + FunctionInfo.cpp Type.cpp TypeFinder.cpp Use.cpp @@ -51,4 +57,12 @@ add_llvm_library(LLVMCore ${LLVM_MAIN_INCLUDE_DIR}/llvm/IR ) +# PR24785: Workaround for hanging compilation. +if( MSVC_VERSION EQUAL 1800) + set_property( + SOURCE Function.cpp + PROPERTY COMPILE_FLAGS "/Og-" + ) +endif() + add_dependencies(LLVMCore intrinsics_gen)