[clang] [llvm] [clang][IR] Overload @llvm.thread.pointer to support non-AS0 targets (PR #132489)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 3 16:13:37 PDT 2025


jrtc27 wrote:

> I think you also need to fix the backends so if they see thread_pointer intrinsic with the wrong address-space, they don't crash.

I don't believe they do crash? At least, I can't construct IR using any addrspace (even some of the special X86 ones) that makes amd64/aarch64/riscv64 crash.

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


More information about the llvm-commits mailing list