[clang] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)

Amy Kwan via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 26 22:05:21 PDT 2023


================
@@ -3281,6 +3288,9 @@ def TLSGDAIX : PPCEmitTimePseudo<(outs gprc:$rD), (ins gprc:$offset, gprc:$handl
                           "#TLSGDAIX",
                           [(set i32:$rD,
                             (PPCTlsgdAIX i32:$offset, i32:$handle))]>;
+// This pseudo is expanded to load module-handle in R3, and the call to GETtlsMOD32AIX.
----------------
amy-kwan wrote:

```suggestion
// This pseudo is expanded to load the module-handle in R3, and the call to GETtlsMOD32AIX.
```

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


More information about the cfe-commits mailing list