[libc-commits] [libc] [libc] Don't declare vector_size types that cannot be compiled (PR #221119)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Sep 8 12:51:59 PDT 2026


================
@@ -87,6 +92,7 @@
 
 #if defined(__ARM_NEON)
 #define LIBC_TARGET_CPU_HAS_ARM_NEON
+#define LIBC_TARGET_CPU_GENERIC_VECTOR_SIZE_MAX 512
----------------
michaelrj-google wrote:

does this need `#undef LIBC_TARGET_CPU_GENERIC_VECTOR_SIZE_MAX` like the x86 target? Same for RISC-V

https://github.com/llvm/llvm-project/pull/221119


More information about the libc-commits mailing list