[llvm] [RISCV] Don't fold a pcrel addi into ld/st instructions with multiple uses (PR #80240)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 21:05:18 PST 2024


topperc wrote:

> Got it, so it's the low 12 bits of the symbol in `aupic xN, %pcrel_hi(symbol)`.

It's the low 12 bits of the distance between the address of auipc and the address of the symbol.

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


More information about the llvm-commits mailing list