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

Momchil Velikov via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 03:13:46 PDT 2026


momchil-velikov wrote:

Is it maybe that the host is OpenBSD? Clang makes a distinction, cf.
```
AArch64TargetInfo::AArch64TargetInfo(const llvm::Triple &Triple,
                                     const TargetOptions &Opts)
    : TargetInfo(Triple), ABI("aapcs") {
  if (getTriple().isOSOpenBSD()) {
    Int64Type = SignedLongLong;
    IntMaxType = SignedLongLong;
  } else {
    if (!getTriple().isOSDarwin() && !getTriple().isOSNetBSD())
      WCharType = UnsignedInt;

    Int64Type = SignedLong;
    IntMaxType = SignedLong;
  }
```

If so, perhaps worth trying with a target triple that matches the host (`aarch64-openbsd`?) ?


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


More information about the cfe-commits mailing list