[llvm] [llvm][docs][X86] Mention code model improvements in ReleaseNotes (PR #76190)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 13:59:46 PST 2023


https://github.com/aeubanks created https://github.com/llvm/llvm-project/pull/76190

None

>From fc06b516b64561af0921873b7149ef67a637e00e Mon Sep 17 00:00:00 2001
From: Arthur Eubanks <aeubanks at google.com>
Date: Thu, 21 Dec 2023 13:59:00 -0800
Subject: [PATCH] [llvm][docs][X86] Mention code model improvements in
 ReleaseNotes

---
 llvm/docs/ReleaseNotes.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 33afa09fcac3da..a4ca4e794f67a4 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -172,6 +172,11 @@ Changes to the X86 Backend
 * Support ISA of ``AVX10.1-256`` and ``AVX10.1-512``.
 * ``-mcpu=pantherlake`` and ``-mcpu=clearwaterforest`` are now supported.
 * ``-mapxf`` is supported.
+* Marking global variables with ``code_model = "small"/"large"`` in the IR now
+  overrides the global code model to allow 32-bit relocations or require 64-bit
+  relocations to the global variable.
+* The medium code model's code generation was audited to be much similar to the
+  small code model where possible.
 
 Changes to the OCaml bindings
 -----------------------------



More information about the llvm-commits mailing list