[llvm-commits] [llvm] r159097 - /llvm/trunk/lib/VMCore/CMakeLists.txt

NAKAMURA Takumi geek4civic at gmail.com
Sun Jun 24 02:48:56 PDT 2012


Duncan,

I knew;

http://llvm.org/bugs/show_bug.cgi?id=11951
Bug 11951 - tblgen generation of Intrinsics.gen produces bloated code
and slow compiles of LLVM

forgot to address it, excuse me.

I know there are other a few tweaks in COMPILE_FLAGS for msvc. As you
said, I might forget those fixes. :(

...Takumi

2012/6/24 Duncan Sands <baldrick at free.fr>:
> Hi Takumi,
>
>> VMCore/CMakeLists.txt: [CMake][MSVC] Add "/Og-" to Function.cpp on msvc10. Otherwise, it took over 20 minutes to compile.
>>
>> FIXME: Suppressing optimizations to core libraries would not be good thing.
>
> are you planning to fix this properly, i.e. work out why MSVC is taking so long
> and rework things to avoid it?  If not, I'm worried that this hack will stay
> for ever and never be fixed.
>
> Ciao, Duncan.
>
>>
>> Modified:
>>      llvm/trunk/lib/VMCore/CMakeLists.txt
>>
>> Modified: llvm/trunk/lib/VMCore/CMakeLists.txt
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/CMakeLists.txt?rev=159097&r1=159096&r2=159097&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/VMCore/CMakeLists.txt (original)
>> +++ llvm/trunk/lib/VMCore/CMakeLists.txt Sat Jun 23 22:48:29 2012
>> @@ -36,3 +36,12 @@
>>     ValueTypes.cpp
>>     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 EQUAL 1600 )
>> +set_property(
>> +  SOURCE Function.cpp
>> +  PROPERTY COMPILE_FLAGS "/Og-"
>> +  )
>> +endif()
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list