[llvm-dev] PC relative load/store in LLVM Target?
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Wed Dec 4 11:19:26 PST 2019
On Wed, 4 Dec 2019 at 18:31, LYU YH via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Is there any exist LLVM Target (backend) that support PC relative load and store? If so, what exactly is the instruction?
It's pretty common, with diverse uses too (direct/GOT/jump-table
spring to mind). You'll see it in x86 (mov in
https://godbolt.org/z/qZwSS5), AArch64 (ldr in
https://godbolt.org/z/BThYU7) and I'm sure many others.
What do you really want to know about the usage and/or instruction?
More information about the llvm-dev