[llvm] [X86][GlobalISel] Support globals in pic mode (PR #170038)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 04:03:27 PDT 2026


e-kud wrote:

> > 2. It supports getting an address of a global variable: https://godbolt.org/z/PMz6GfYaz
> 
> I think compiler explorer was on an old version of llc when you tested this. Clicking "Clear cache and recompile" shows that the program is selected successfully.

Yeah, that's true.

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


More information about the llvm-commits mailing list