[llvm] r258899 - [cmake] Remove /Og- flag which was working around PR24785
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 17:52:46 PST 2016
Author: rnk
Date: Tue Jan 26 19:52:46 2016
New Revision: 258899
URL: http://llvm.org/viewvc/llvm-project?rev=258899&view=rev
Log:
[cmake] Remove /Og- flag which was working around PR24785
With r258897, MSVC 2013 now successfully compiles Function.cpp.
Modified:
llvm/trunk/lib/IR/CMakeLists.txt
Modified: llvm/trunk/lib/IR/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/CMakeLists.txt?rev=258899&r1=258898&r2=258899&view=diff
==============================================================================
--- llvm/trunk/lib/IR/CMakeLists.txt (original)
+++ llvm/trunk/lib/IR/CMakeLists.txt Tue Jan 26 19:52:46 2016
@@ -56,12 +56,4 @@ 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)
More information about the llvm-commits
mailing list