llvm-project
055aff64 - [RISC-V][MC][RVY] Add support for compressed stack-pointer addition (#203598)

Commit
8 hours ago
[RISC-V][MC][RVY] Add support for compressed stack-pointer addition (#203598) In RVY mode, the c.addi4spn/c.addi16sp instructions expand to YADDI to perform arithmetic on the YLEN stack pointer instead. Now that CompressInstEmitter resolves HwMode predicates in CompressPat, we can update C_ADDI4SPN/C_ADDI16SP to use SP:$rs1 directly. Assisted-by: AI tooling Pull-Request: https://github.com/llvm/llvm-project/pull/203598
Author
Parents
Loading