[llvm] [RISCV] Add compress patterns for Xqcibi branch instructions (PR #143095)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 12:07:48 PDT 2025


================

----------------
lenary wrote:

Thanks for updating the existing tests, can you also add a few examples with e.g. `qc.e.beqi a0, 0xa, .Ln` to show that it gets turned into `qc.beqi a0, 0xa, 0x8; jal zero, ...` (i.e. that the `qc.e.beqi` first gets compressed to the form with a smaller immediate, and then relaxed to the branch;jump variant)

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


More information about the llvm-commits mailing list