My intro to the RISCV LLVM Backend: modifying an existing LLVM pass to merge GPRPair moves

For a while now I&rsquo;ve been interested in the RISCV architecture, and recently I had the opportunity to indulge this interest by working on a pass improving code gen on the RISCV backend for LLVM. Credits to @lenary to raising this issue. Relevant PRs: https://github.com/llvm/llvm-project/pull/182416 https://github.com/llvm/llvm-project/pull/183657…