Skip to content

Commit 3ca9bcc

Browse files
authored
[llvm][docs][X86] Mention code model improvements in ReleaseNotes (llvm#76190)
1 parent 82b38e8 commit 3ca9bcc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/docs/ReleaseNotes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ Changes to the X86 Backend
172172
* Support ISA of ``AVX10.1-256`` and ``AVX10.1-512``.
173173
* ``-mcpu=pantherlake`` and ``-mcpu=clearwaterforest`` are now supported.
174174
* ``-mapxf`` is supported.
175+
* Marking global variables with ``code_model = "small"/"large"`` in the IR now
176+
overrides the global code model to allow 32-bit relocations or require 64-bit
177+
relocations to the global variable.
178+
* The medium code model's code generation was audited to be more similar to the
179+
small code model where possible.
175180

176181
Changes to the OCaml bindings
177182
-----------------------------

0 commit comments

Comments
 (0)