diff --git a/src/arch/helperrvv.h b/src/arch/helperrvv.h index f13f0577..cd5d79cd 100644 --- a/src/arch/helperrvv.h +++ b/src/arch/helperrvv.h @@ -70,7 +70,8 @@ #endif #endif -#if __riscv_v_intrinsic <= 12000 +#if __riscv_v_intrinsic < 1000000 && !(defined(__clang_major__) && __clang_major__ >= 18) +#warning "Using fallback implementations for vcreate" // __riscv_vcreate* intrinsics only showed up in v1.0-rc0 of the RVV intrinsics // spec and have already been implemented in clang-18, but are useful for // eliminating issues with uninitialised data because they are explicit that