summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-03-04 09:23:33 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-03-04 09:23:33 +0000
commit225d550b05060d5953d2d4ea8bcb5195d62d56c6 (patch)
treef9f1a385ee228533ab298178bb4621e6b070d1f7 /llvm/lib
parent387e059c047d65c57ae574328bdbd27a2b2cad31 (diff)
downloadbcm5719-llvm-225d550b05060d5953d2d4ea8bcb5195d62d56c6.tar.gz
bcm5719-llvm-225d550b05060d5953d2d4ea8bcb5195d62d56c6.zip
Cleaning up a bunch of pre-Visual C++ 2012 build hacks.
llvm-svn: 202806
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/CMakeLists.txt9
-rw-r--r--llvm/lib/Target/ARM/CMakeLists.txt8
-rw-r--r--llvm/lib/Target/ARM/Disassembler/CMakeLists.txt7
-rw-r--r--llvm/lib/Target/Mips/Disassembler/CMakeLists.txt8
4 files changed, 0 insertions, 32 deletions
diff --git a/llvm/lib/IR/CMakeLists.txt b/llvm/lib/IR/CMakeLists.txt
index 1ee7140ae42..b1a0a06a089 100644
--- a/llvm/lib/IR/CMakeLists.txt
+++ b/llvm/lib/IR/CMakeLists.txt
@@ -43,13 +43,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)
diff --git a/llvm/lib/Target/ARM/CMakeLists.txt b/llvm/lib/Target/ARM/CMakeLists.txt
index 66d015e2b3c..eff99c27e43 100644
--- a/llvm/lib/Target/ARM/CMakeLists.txt
+++ b/llvm/lib/Target/ARM/CMakeLists.txt
@@ -49,14 +49,6 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp
)
-# workaround for hanging compilation on MSVC9, 10
-if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
-set_property(
- SOURCE ARMISelLowering.cpp
- PROPERTY COMPILE_FLAGS "/Od"
- )
-endif()
-
add_subdirectory(TargetInfo)
add_subdirectory(AsmParser)
add_subdirectory(Disassembler)
diff --git a/llvm/lib/Target/ARM/Disassembler/CMakeLists.txt b/llvm/lib/Target/ARM/Disassembler/CMakeLists.txt
index 92bc709ecb2..2d9d534d6e5 100644
--- a/llvm/lib/Target/ARM/Disassembler/CMakeLists.txt
+++ b/llvm/lib/Target/ARM/Disassembler/CMakeLists.txt
@@ -1,10 +1,3 @@
add_llvm_library(LLVMARMDisassembler
ARMDisassembler.cpp
)
-# workaround for hanging compilation on MSVC8, 9 and 10
-if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
-set_property(
- SOURCE ARMDisassembler.cpp
- PROPERTY COMPILE_FLAGS "/Od"
- )
-endif()
diff --git a/llvm/lib/Target/Mips/Disassembler/CMakeLists.txt b/llvm/lib/Target/Mips/Disassembler/CMakeLists.txt
index 35b0999d0e5..a64d02c4740 100644
--- a/llvm/lib/Target/Mips/Disassembler/CMakeLists.txt
+++ b/llvm/lib/Target/Mips/Disassembler/CMakeLists.txt
@@ -1,11 +1,3 @@
add_llvm_library(LLVMMipsDisassembler
MipsDisassembler.cpp
)
-
-# workaround for hanging compilation on MSVC9 and 10
-if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
-set_property(
- SOURCE MipsDisassembler.cpp
- PROPERTY COMPILE_FLAGS "/Od"
- )
-endif()
OpenPOWER on IntegriCloud