[llvm] [PowerPC] Utilize getReservedRegs to find asm clobberable registers. (PR #107863)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 08:24:52 PDT 2024


================
@@ -3434,6 +3434,8 @@ SDValue PPCTargetLowering::LowerGlobalTLSAddressAIX(SDValue Op,
   if (Subtarget.hasAIXShLibTLSModelOpt())
     updateForAIXShLibTLSModelOpt(Model, DAG, getTargetMachine());
 
+  setUsesTOCBasePtr(DAG);
----------------
lei137 wrote:

Can we add a comment here as to why this is now needed?

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


More information about the llvm-commits mailing list