[clang] [llvm] [Clang][CodeGen] Handle TLS variables for non-zero Global ASes (PR #238159)

Alex Voicu via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 04:49:36 PST 2026


https://github.com/AlexVlx commented:

> I really don't like this dance of creating a ConstantExpr, then looking through the ConstantExpr to find the global we actually wanted.  Can we refactor this so we can just get the GlobalValue directly? 

Please consider the re-worked variant (turns out we handle the casting elsewhere as well, so it's not needed where I thought it was needed).

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


More information about the cfe-commits mailing list