Preserve fast-math flags after reassociation and commutation. Update test cases
[oota-llvm.git] / runtime / libprofile / CMakeLists.txt
1 set(SOURCES
2   BasicBlockTracing.c
3   CommonProfiling.c
4   GCDAProfiling.c
5   PathProfiling.c
6   EdgeProfiling.c
7   OptimalEdgeProfiling.c
8   Profiling.h
9   )
10
11 add_llvm_library( profile_rt-static ${SOURCES} )
12 set_target_properties( profile_rt-static
13   PROPERTIES
14   OUTPUT_NAME "profile_rt" )
15
16 set(BUILD_SHARED_LIBS ON)
17 add_llvm_library( profile_rt-shared ${SOURCES} )
18 set_target_properties( profile_rt-shared
19   PROPERTIES
20   OUTPUT_NAME "profile_rt" )