[all-commits] [llvm/llvm-project] 687e63: [X86] Allow accessing large globals in small code ...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Fri Dec 8 11:10:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 687e63a2bddf7eb9e91d9d718e48942aca47c631
      https://github.com/llvm/llvm-project/commit/687e63a2bddf7eb9e91d9d718e48942aca47c631
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

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

  Log Message:
  -----------
  [X86] Allow accessing large globals in small code model (#74785)

This removes some assumptions that the small code model will only
reference "near" globals.

There are still some missing optimizations and wrong code sequences, but
I'd like to address those separately. This will require auditing any
checks of the code model in the X86 backend.




More information about the All-commits mailing list