================ @@ -58,9 +58,7 @@ constexpr vector<T, L> reflect_vec_impl(vector<T, L> I, vector<T, L> N) { #endif } -template <typename T> -constexpr enable_if_t<is_same<float, T>::value || is_same<half, T>::value, T> -fmod_impl(T X, T Y) { +template <typename T> constexpr T fmod_impl(T X, T Y) { ---------------- spall wrote:
Why is this needed along with the definitions in hlsl_intrinsics.h? https://github.com/llvm/llvm-project/pull/131035 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits