[llvm] [RISCV] Rename operands used for branch and compressed jump targets. NFC (PR #133364)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 28 10:46:48 PDT 2025


topperc wrote:

> I've recently looked into this. Actually I don't think `bare_symbol` is a good name. Its presence seems mostly to avoid parsing ambiguity due to many strange aliases.

Happy to take suggestions. Another thing I noticed is that we have a special parseJALOffset we use for jumps to allow register names to be used as labels, but we don't allow them for conditional branches or compressed jumps.

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


More information about the llvm-commits mailing list