[PATCH] D60643: [X86] Use PC-relative mode for the kernel code model

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 18:19:00 PDT 2019


void created this revision.
void added a reviewer: craig.topper.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The Linux kernel uses PC-relative mode, so allow that when the code model is
"kernel".


Repository:
  rL LLVM

https://reviews.llvm.org/D60643

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  test/CodeGen/X86/codemodel.ll
  unittests/Support/VirtualFileSystemTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60643.194991.patch
Type: text/x-patch
Size: 4271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190413/7fa00ec4/attachment.bin>


More information about the llvm-commits mailing list