[clang] [Clang][AArch64] Diagnose invalid FPM scale arguments (PR #227722)

Martin Wehking via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 05:11:42 PDT 2026


================
@@ -13,6 +13,7 @@
 
 HEADER(NO_HEADER, nullptr)
 HEADER(ARM_ACLE_H, "arm_acle.h")
+HEADER(ARM_VECTOR_TYPES_H, "vector_types.h")
----------------
MartinWehking wrote:

I think this should be "arm_vector_types.h". Otherwise e.g. the diagnostic will point to the wrong file.
You also used it here:
```
let Attributes = [NoThrow, RequireDeclaration], Header = "arm_vector_types.h" in {
```

Otherwise you will get:
```
note: include the header <vector_types.h> or explicitly provide a declaration for '__arm_set_fpm_lscale'
```

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


More information about the cfe-commits mailing list