[clang] [llvm] [X86] Add Support for X86 TLSDESC Relocations (PR #83136)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 01:40:17 PST 2024
================
@@ -18515,20 +18515,20 @@ X86TargetLowering::LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const {
return LowerGlobalOrExternal(Op, DAG, /*ForCall=*/false);
}
-static SDValue
-GetTLSADDR(SelectionDAG &DAG, SDValue Chain, GlobalAddressSDNode *GA,
- SDValue *InGlue, const EVT PtrVT, unsigned ReturnReg,
- unsigned char OperandFlags, bool LocalDynamic = false) {
+static SDValue getTLSADDR(SelectionDAG &DAG, SDValue Chain,
+ GlobalAddressSDNode *GA, SDValue *InGlue,
+ const EVT PtrVT, unsigned ReturnReg,
+ unsigned char OperandFlags, bool UseTLSDESC = false,
----------------
RKSimon wrote:
Do we need a default arg for UseTLSDESC - all the calls to getTLSADDR seem to set it?
https://github.com/llvm/llvm-project/pull/83136
More information about the cfe-commits
mailing list