aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-11-16 09:18:28 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-11-16 09:18:28 +0000
commit5c283e98c9da41c744c63a3ea13231d2f919fe9a (patch)
tree915a608e0b332a2c888975f91baba4fab6152502
parentb95fc31aa2e5a0a0b9ee1909d1cb949577c5aa16 (diff)
lib/Target/ARM/CMakeLists.txt: Disable optimization in ARMISelLowering.cpp also on MSC15(aka VS9). Seems miscompiled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144794 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/CMakeLists.txt b/lib/Target/ARM/CMakeLists.txt
index baa55f224a..511932e2bd 100644
--- a/lib/Target/ARM/CMakeLists.txt
+++ b/lib/Target/ARM/CMakeLists.txt
@@ -62,8 +62,8 @@ add_llvm_library_dependencies(LLVMARMCodeGen
LLVMTarget
)
-# workaround for hanging compilation on MSVC10
-if( MSVC_VERSION EQUAL 1600 )
+# 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"