[llvm] [LoongArch] Emit R_LARCH_RELAX when expanding some macros (PR #120067)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 19:09:15 PST 2024


================
@@ -1176,7 +1176,7 @@ void LoongArchAsmParser::emitLoadAddressTLSIE(MCInst &Inst, SMLoc IDLoc,
   Insts.push_back(LoongArchAsmParser::Inst(
       LD, LoongArchMCExpr::VK_LoongArch_TLS_IE_PC_LO12));
 
-  emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out);
+  emitLAInstSeq(DestReg, DestReg, Symbol, Insts, IDLoc, Out, true);
----------------
zhaoqi5 wrote:

Thanks. I will modified this.

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


More information about the llvm-commits mailing list