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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 05:14:58 PDT 2026


================
@@ -41,6 +41,14 @@ def G_FLDCW16 : X86GenericInstruction {
   let mayLoad = true;
 }
 
+// RIP-relative address wrapper for PIC mode global access.
+// Equivalent to X86ISD::WrapperRIP in SelectionDAG.
----------------
arsenm wrote:

I'd still probably leave it in 

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


More information about the llvm-commits mailing list