mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 22:43:36 +00:00
Let clang only report successfully vectorized loops
too spamy otherwise, flag kept as comment for manual profiling though
This commit is contained in:
parent
5167ab9967
commit
90c5eb05c1
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ unset ( WITH_PROFILING CACHE )
|
|||
if ( enable-profiling )
|
||||
set ( WITH_PROFILING 1 )
|
||||
if ( CMAKE_C_COMPILER_ID STREQUAL "Clang" )
|
||||
set ( OPT_FLAGS "-Rpass=loop-vectorize -Rpass-analysis=loop-vectorize" )
|
||||
set ( OPT_FLAGS "-Rpass=loop-vectorize" ) # -Rpass-analysis=loop-vectorize" )
|
||||
elseif ( CMAKE_C_COMPILER_ID STREQUAL "Intel" )
|
||||
set ( OPT_FLAGS "-qopt-report=3" )
|
||||
elseif ( CMAKE_C_COMPILER_ID STREQUAL "GNU" )
|
||||
|
|
Loading…
Reference in a new issue