================ @@ -1622,6 +1629,10 @@ def TLSGDAIX8 : "#TLSGDAIX8", [(set i64:$rD, (PPCTlsgdAIX i64:$offset, i64:$handle))]>; +// This pseudo is expanded to one copy to put the module handle in R3, then call +// GETtlsMOD64AIX, and then add variable offset to the output from the call. +def TLSLDAIX8 : PPCEmitTimePseudo<(outs g8rc:$rD), (ins g8rc:$handle), ---------------- orcguru wrote:
Thank you. I have changed the implementation of the pseudo node: it loads module-handle into R/X3 and then calls .__tls_get_mod. (ADD is implemented by standalone ISD::ADD, so not in the scope of this pseudo node) Now I changed the comment to: // This pseudo is expanded to load module-handle in X3, and the call to GETtlsMOD64AIX. https://github.com/llvm/llvm-project/pull/66316 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits