[all-commits] [llvm/llvm-project] 1a8c69: [X86] Use RIP-relative addressing for data under l...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Tue Sep 19 11:19:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a8c69176e24c57d6d5860c3cd7046f7aef8db6f
      https://github.com/llvm/llvm-project/commit/1a8c69176e24c57d6d5860c3cd7046f7aef8db6f
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/test/CodeGen/X86/code-model-elf.ll

  Log Message:
  -----------
  [X86] Use RIP-relative addressing for data under large data threshold for medium code model

Since those data are assumed to be within the relocation offset limit.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D150297




More information about the All-commits mailing list