[PATCH] D140593: [X86] Emit RIP-relative access to local function in PIC medium code model

Thomas Köppe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 03:02:28 PST 2022


tkoeppe added a comment.

In D140593#4014516 <https://reviews.llvm.org/D140593#4014516>, @lebedev.ri wrote:

> This could use a test.

Yes, on it! I'll also need to update the existing tests.

But could anyone confirm in principle that the lack of PIC support of the medium model currently is indeed a bug, and that this solution is appropriate?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140593/new/

https://reviews.llvm.org/D140593



More information about the llvm-commits mailing list