[all-commits] [llvm/llvm-project] 4efc6e: [RISCV] Emit .option arch extensions without the "...
Kito Cheng via All-commits
all-commits at lists.llvm.org
Wed Jun 24 17:50:33 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4efc6ef95cb041fae7e8fd60c4281b355418e747
https://github.com/llvm/llvm-project/commit/4efc6ef95cb041fae7e8fd60c4281b355418e747
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
A llvm/test/CodeGen/RISCV/option-arch-experimental.ll
Log Message:
-----------
[RISCV] Emit .option arch extensions without the "experimental-" prefix (#205471)
We currently emit the "experimental-" prefix in .option arch, e.g.
`.option arch, +experimental-zicfiss`, but the assembler can't parse
that back.
There are two ways to fix this:
1. Teach the assembler to accept `.option arch, +experimental-zicfiss`.
2. Emit `.option arch, +zicfiss` instead of `.option arch,
+experimental-zicfiss`.
This patch takes the second approach, which better fits the .option arch
syntax we defined. Experimental extensions are still guarded by
`-menable-experimental-extensions`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list