[llvm] [RISCV] Implement Relaxation for Xqcilb Jumps (PR #142702)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 17:44:57 PDT 2025
lenary wrote:
> Do you plan to make the BranchRelaxation pass aware of these jumps?
I don't think QC.E.J and QC.E.JAL can be turned into other branches/sequences with a longer range, so I don't think there's anything to do? Note that the pass was not aware it could relax JAL until now because there was no larger instruction to relax JAL into, by the same logic.
I am thinking of refactoring how the branch pseudos work, so that they can use JAL or QC.E.J (right now they only ever use JAL), but I'm still working through how we can implement that nicely, and I have other short-term priorities.
https://github.com/llvm/llvm-project/pull/142702
More information about the llvm-commits
mailing list