[llvm] [RISCV] Emit .option arch extensions without the "experimental-" prefix (PR #205471)

Kito Cheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 23:01:06 PDT 2026


================
@@ -0,0 +1,13 @@
+; RUN: llc -mtriple=riscv64 < %s | FileCheck %s
+; RUN: llc -mtriple=riscv64 < %s \
+; RUN:   | llvm-mc -triple=riscv64 -mattr=+experimental -filetype=obj -o /dev/null
----------------
kito-cheng wrote:

> Can assembler parse experimental extensions without prefix experimental-?

@wangpc-pp Yes, and here is the test for that (llvm-mc part) :)

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


More information about the llvm-commits mailing list