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

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 03:01:49 PDT 2024


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

good catch!
Can this be made in a single patch?

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


More information about the llvm-commits mailing list