[PATCH] D91339: [X86] Include %rip for 32-bit PIC-relative relocs

Harald van Dijk via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 05:17:23 PST 2020


hvdijk created this revision.
hvdijk added a reviewer: craig.topper.
hvdijk added a project: LLVM.
Herald added subscribers: llvm-commits, pengfei, hiraditya.
hvdijk requested review of this revision.

%rip was only included for 64-bit PIC-relative relocations, but needs to be included for 32-bit as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91339

Files:
  llvm/lib/Target/X86/X86FastISel.cpp
  llvm/test/CodeGen/X86/pic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91339.304793.patch
Type: text/x-patch
Size: 8592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201112/31217999/attachment.bin>


More information about the llvm-commits mailing list