[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 14:30:19 PST 2023
https://github.com/aeubanks updated https://github.com/llvm/llvm-project/pull/76190
>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 1/2] [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
-----------------------------
>From 12a71b049339f8c55dfe1be289cfe57182416ac4 Mon Sep 17 00:00:00 2001
From: Arthur Eubanks <aeubanks at google.com>
Date: Thu, 21 Dec 2023 14:30:04 -0800
Subject: [PATCH 2/2] s/much/more
---
llvm/docs/ReleaseNotes.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index a4ca4e794f67a4..9d5124680141e6 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -175,7 +175,7 @@ Changes to the X86 Backend
* 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
+* The medium code model's code generation was audited to be more similar to the
small code model where possible.
Changes to the OCaml bindings
More information about the llvm-commits
mailing list