[clang] [ARM][AArch64] Add missing Neon Types (PR #126945)

Momchil Velikov via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 09:09:09 PST 2025


================
@@ -57,6 +57,10 @@
 //  - IsBF true for vector of brain float elements.
 //===----------------------------------------------------------------------===//
 
+#ifndef SVE_TYPE
----------------
momchil-velikov wrote:

I thought of adding this in one of the previous refactorings, in the end decided to omit it as too error prone - the compiler
is going to happily compile everything that includes this file even if we forget to define some macro.
It still not ideal, because one can define `SVE_TYPE` at the place of the include and *still* forget  to define
some of the other macros, but at least requires *some* thought at each individual usage.

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


More information about the cfe-commits mailing list