================
@@ -126,6 +145,25 @@ if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES AND NOT
FLANG_STANDALONE_BUILD)
list(APPEND FLANG_TEST_DEPENDS flang-rt-test-deps)
endif ()
+set(FLANG_BOLT_ALLOWLIST INSTRUMENT PERF LBR)
+set(FLANG_BOLT OFF CACHE STRING "Apply BOLT optimization to flang. \
----------------
Meinersbur wrote:
There is also https://cmake.org/cmake/help/latest/prop_cache/STRINGS.html for a
predefined set of allowed enum values
https://github.com/llvm/llvm-project/pull/198863
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits