[clang] [llvm] [RISCV][Clang][TargetParser] Support getting feature unaligned-scalar-mem from mcpu. (PR #71513)

Francesco Petrogalli via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 04:34:22 PST 2023


================
@@ -60,9 +60,14 @@ static void EmitRISCVTargetDef(RecordKeeper &RK, raw_ostream &OS) {
     if (MArch.empty())
       MArch = getMArch(*Rec);
 
+    bool FastUnalignedAccess =
----------------
fpetrogalli wrote:

```suggestion
    const bool FastUnalignedAccess =
```

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


More information about the cfe-commits mailing list