[llvm] [LoongArch] Modify expanding code sequence for PseudoLA_TLS_LE (PR #119696)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 18:49:15 PST 2024


================
@@ -301,7 +301,8 @@ class LoongArchTargetLowering : public TargetLowering {
   SDValue getAddr(NodeTy *N, SelectionDAG &DAG, CodeModel::Model M,
                   bool IsLocal = true) const;
   SDValue getStaticTLSAddr(GlobalAddressSDNode *N, SelectionDAG &DAG,
-                           unsigned Opc, bool UseGOT, bool Large = false) const;
+                           unsigned Opc, bool UseGOT, bool Large = false,
+                           bool IsNormalOrMediumLE = false) const;
----------------
zhaoqi5 wrote:

I have modified according to your suggestions. Thanks.

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


More information about the llvm-commits mailing list