[clang] [Clang][AArch64] Add fix vector types to header into SVE (PR #73258)

Kiran Chandramohan via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 03:15:05 PST 2023


================
@@ -2229,6 +2231,12 @@ void NeonEmitter::runHeader(raw_ostream &OS) {
 static void emitNeonTypeDefs(const std::string& types, raw_ostream &OS) {
   std::string TypedefTypes(types);
   std::vector<TypeSpec> TDTypeVec = TypeSpec::fromTypeSpecs(TypedefTypes);
+  // arm_sve.h followed by arm_neon.h does not emmit these types
+  // because only arm_sve.h defines __ARM_NEON_TYPES_H
+  // arm_neon.h followed by arm_sve.h emmit these types
----------------
kiranchandramohan wrote:

```suggestion
  // arm_neon.h followed by arm_sve.h emit these types
```

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


More information about the cfe-commits mailing list