[cxx-interop] Add initial benchmark to compare vector<uint32_t> sum in C++ vs Swift

This commit is contained in:
Alex Lorenz
2022-10-05 11:41:52 -07:00
parent d977dd101f
commit d72b592eeb
7 changed files with 131 additions and 1 deletions

View File

@@ -484,6 +484,8 @@ function (swift_benchmark_compile_archopts)
set(cxx_options "")
if ("${module_name_path}" MATCHES ".*cxx-source/.*")
list(APPEND cxx_options "-Xfrontend" "-enable-experimental-cxx-interop" "-I" "${srcdir}/utils/CxxTests/")
# FIXME: https://github.com/apple/swift/issues/61453
list(APPEND cxx_options "-Xfrontend" "-validate-tbd-against-ir=none")
endif()
if ("${bench_flags}" MATCHES "-whole-module.*")