kfr
kfr copied to clipboard
Build fails for LLVM 19 / Windows
It seems the function
template <size_t index, typename = void,
KFR_ENABLE_IF(index < 1024 && !compound_type_traits<T>::is_scalar)>
KFR_MEM_INTRINSIC constexpr void set(csize_t<index>, const value_type& s) CMT_NOEXCEPT
{
this->s[index] = s;
}
does not compile with the latest LLVM. It looks like clang never evaluated it before because of the KFR_ENABLE_IF and they now have changed the behavior and the compilation fails.
The affected file is include/kfr/simd/vec.hpp. This is a show-stopper for us.
Fixed in dev branch.
Upd: Just pushed to main branch.