[clang-tools-extra] [llvm] [RISCV] Support Global Dynamic TLSDESC in the RISC-V backend (PR #66915)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 11:57:22 PST 2023


================
@@ -6843,6 +6845,24 @@ SDValue RISCVTargetLowering::getDynamicTLSAddr(GlobalAddressSDNode *N,
   return LowerCallTo(CLI).first;
 }
 
+SDValue
+RISCVTargetLowering::getGeneralDynamicTLSDescAddr(GlobalAddressSDNode *N,
----------------
MaskRay wrote:

`GeneralDynamicTLSDesc` in the name` `getGeneralDynamicTLSDescAddr` is misleading. general-dynamic refers to a traditional TLS mode while TLSDESC is entirely different. 

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


More information about the cfe-commits mailing list