[PATCH] D151458: [RISCV] Support TLSDESC in the RISC-V backend
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 18:59:23 PDT 2023
paulkirth added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:5326
+ // auipc tX, %tlsdesc_hi(symbol) // R_RISCV_TLSDESC_HI20(symbol)
+ // lw tY, tX, %tlsdesc_lo_load(label) // R_RISCV_TLSDESC_LOAD_LO12_I(label)
+ // addi a0, tX, %tlsdesc_lo_add(label) // R_RISCV_TLSDESC_ADD_LO12_I(label)
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151458/new/
https://reviews.llvm.org/D151458
More information about the llvm-commits
mailing list