[llvm] [clang-tools-extra] [clang] [Clang][AArch64] Add fix vector types to header into SVE (PR #73258)
Sander de Smalen via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 8 06:28:25 PST 2023
================
@@ -2355,13 +2357,7 @@ void NeonEmitter::run(raw_ostream &OS) {
OS << "#include <arm_bf16.h>\n";
- // Emit NEON-specific scalar typedefs.
- OS << "typedef float float32_t;\n";
- OS << "typedef __fp16 float16_t;\n";
-
- OS << "#ifdef __aarch64__\n";
- OS << "typedef double float64_t;\n";
- OS << "#endif\n\n";
+ OS << "#include <arm_vector_types.h>\n";
----------------
sdesmalen-arm wrote:
nit: is it worth calling this `arm_common_vector_types.h` (as it doesn't contain poly vector types for example).
https://github.com/llvm/llvm-project/pull/73258
More information about the cfe-commits
mailing list