llvm / llvm/llvm-project

[RISCV] Update the canonical extension order

Open Beginner friendly
#192,357 2 comments 0 reactions 0 assignees View on GitHub
backend:RISC-V
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

LLVM embeds the order of one-letter standard extensions in . The order in the specification was updated by from `IMAFDQLCBKJTPVH` to ~`IMAFDQLCBJTVPKH`~ `IMAFDQLCBKJTVPH` (P moved after V). The code needs to be updated accordingly.

Contributor guide

Open the contributing guide

Research direction

Open llvm/include/llvm/Support/RISCVISAUtils.h at the canonical extension order near line 24. Compare the embedded order with the specification change described in the issue, update it to IM AFDQLCBKJTVPH without spaces, and verify that the header reflects the requested canonical order.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.