Skip to content

Commit fcd8624

Browse files
authored
[Vectorizer] Require C++17 for early-exit tests (#365)
std::reduce was introduced in C++17.
1 parent 7afeb17 commit fcd8624

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SingleSource/UnitTests/Vectorizer/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
llvm_singlesource()
22
set_property(TARGET runtime-checks PROPERTY CXX_STANDARD 17)
3+
set_property(TARGET early-exit PROPERTY CXX_STANDARD 17)
34

45
# The VPlan-native path is specific to llvm.
56
if ("${CMAKE_C_COMPILER_ID}" MATCHES "Clang")

0 commit comments

Comments
 (0)