From 90c5eb05c1228471e49be7a73f22a99ef9d35460 Mon Sep 17 00:00:00 2001 From: derselbst Date: Thu, 8 Aug 2019 20:48:15 +0200 Subject: [PATCH] Let clang only report successfully vectorized loops too spamy otherwise, flag kept as comment for manual profiling though --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8880eac2..9228c688 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" )