1
- ============================
2
- LLVM |release | Release Notes
3
- ============================
1
+ <!-- This document is written in Markdown and uses extra directives provided by
2
+ MyST (https://myst-parser.readthedocs.io/en/latest/). -->
4
3
5
- .. contents ::
6
- :local:
4
+ LLVM {{env.config.release}} Release Notes
5
+ =========================================
7
6
8
- .. only :: PreRelease
9
-
10
- .. warning ::
11
- These are in-progress notes for the upcoming LLVM |version | release.
12
- Release notes for previous releases can be found on
13
- `the Download Page <https://releases.llvm.org/download.html >`_.
7
+ ``` {contents}
8
+ ```
14
9
10
+ ```` {only} PreRelease
11
+ ```{warning} These are in-progress notes for the upcoming LLVM {{env.config.release}}
12
+ release. Release notes for previous releases can be found on
13
+ [the Download Page](https://releases.llvm.org/download.html).
14
+ ```
15
+ ````
15
16
16
17
Introduction
17
18
============
18
19
19
20
This document contains the release notes for the LLVM Compiler Infrastructure,
20
- release | release | . Here we describe the status of LLVM, including major improvements
21
- from the previous release, improvements in various subprojects of LLVM, and
22
- some of the current users of the code. All LLVM releases may be downloaded
23
- from the ` LLVM releases web site < https://llvm.org/releases/ >`_ .
21
+ release {{env.config. release}} . Here we describe the status of LLVM, including
22
+ major improvements from the previous release, improvements in various subprojects
23
+ of LLVM, and some of the current users of the code. All LLVM releases may be
24
+ downloaded from the [ LLVM releases web site] ( https://llvm.org/releases/ ) .
24
25
25
26
For more information about LLVM, including information about the latest
26
- release, please check out the `main LLVM web site <https://llvm.org/ >`_. If you
27
- have questions or comments, the `Discourse forums
28
- <https://discourse.llvm.org> `_ is a good place to ask
29
- them.
27
+ release, please check out the [ main LLVM web site] ( https://llvm.org/ ) . If you
28
+ have questions or comments, the [ Discourse forums] ( https://discourse.llvm.org )
29
+ is a good place to ask them.
30
30
31
31
Note that if you are reading this file from a Git checkout or the main
32
32
LLVM web page, this document applies to the * next* release, not the current
33
- one. To see the release notes for a specific release, please see the ` releases
34
- page < https://llvm.org/releases/> `_ .
33
+ one. To see the release notes for a specific release, please see the
34
+ [ releases page ] ( https://llvm.org/releases/ ) .
35
35
36
36
Non-comprehensive list of changes in this release
37
37
=================================================
38
- .. NOTE
39
- For small 1-3 sentence descriptions, just add an entry at the end of
40
- this list. If your description won't fit comfortably in one bullet
41
- point (e.g. maybe you would like to give an example of the
42
- functionality, or simply have a lot to talk about), see the `NOTE` below
43
- for adding a new subsection.
38
+
39
+ <!-- For small 1-3 sentence descriptions, just add an entry at the end of
40
+ this list. If your description won't fit comfortably in one bullet
41
+ point (e.g. maybe you would like to give an example of the
42
+ functionality, or simply have a lot to talk about), see the comment below
43
+ for adding a new subsection. -->
44
44
45
45
* ...
46
46
47
- Update on required toolchains to build LLVM
48
- -------------------------------------------
47
+ <!-- If you would like to document a larger change, then you can add a
48
+ subsection about it right here. You can copy the following boilerplate:
49
+
50
+ Special New Feature
51
+ -------------------
52
+
53
+ Makes programs 10x faster by doing Special New Thing.
54
+ -->
49
55
50
56
Changes to the LLVM IR
51
57
----------------------
52
58
53
- * The `` x86_mmx ` ` IR type has been removed. It will be translated to
54
- the standard vector type `` <1 x i64> ` ` in bitcode upgrade.
55
- * Renamed `` llvm.experimental.stepvector `` intrinsic to `` llvm.stepvector ` `.
59
+ * The ` x86_mmx ` IR type has been removed. It will be translated to
60
+ the standard vector type ` <1 x i64> ` in bitcode upgrade.
61
+ * Renamed ` llvm.experimental.stepvector ` intrinsic to ` llvm.stepvector ` .
56
62
57
- * Added `` usub_cond `` and `` usub_sat `` operations to `` atomicrmw ` `.
63
+ * Added ` usub_cond ` and ` usub_sat ` operations to ` atomicrmw ` .
58
64
59
65
* Remove the following intrinsics which can be replaced with a `` bitcast `` :
60
66
@@ -103,9 +109,9 @@ Changes to the AArch64 Backend
103
109
Changes to the AMDGPU Backend
104
110
-----------------------------
105
111
106
- * Removed `` llvm.amdgcn.flat.atomic.fadd ` ` and
107
- `` llvm.amdgcn.global.atomic.fadd ` ` intrinsics. Users should use the
108
- : ref: `atomicrmw <i_atomicrmw >` instruction with `fadd ` and
112
+ * Removed ` llvm.amdgcn.flat.atomic.fadd ` and
113
+ ` llvm.amdgcn.global.atomic.fadd ` intrinsics. Users should use the
114
+ { ref} ` atomicrmw <i_atomicrmw> ` instruction with ` fadd ` and
109
115
addrspace(0) or addrspace(1) instead.
110
116
111
117
Changes to the ARM Backend
@@ -139,17 +145,17 @@ Changes to the RISC-V Backend
139
145
* ` .balign N, 0 ` , ` .p2align N, 0 ` , ` .align N, 0 ` in code sections will now fill
140
146
the required alignment space with a sequence of ` 0x0 ` bytes (the requested
141
147
fill value) rather than NOPs.
142
- * Added Syntacore SCR4 and SCR5 CPUs: `` -mcpu=syntacore-scr4/5-rv32/64 ` `
143
- * `` -mcpu=sifive-p470 ` ` was added.
144
- * Added Hazard3 CPU as taped out for RP2350: `` -mcpu=rp2350-hazard3 ` ` (32-bit
148
+ * Added Syntacore SCR4 and SCR5 CPUs: ` -mcpu=syntacore-scr4/5-rv32/64 `
149
+ * ` -mcpu=sifive-p470 ` was added.
150
+ * Added Hazard3 CPU as taped out for RP2350: ` -mcpu=rp2350-hazard3 ` (32-bit
145
151
only).
146
152
* Fixed length vector support using RVV instructions now requires VLEN>=64. This
147
153
means Zve32x and Zve32f will also require Zvl64b. The prior support was
148
154
largely untested.
149
- * The `` Zvbc32e `` and `` Zvkgs ` ` extensions are now supported experimentally.
150
- * Added `` Smctr `` and `` Ssctr ` ` extensions.
151
- * `` -mcpu=syntacore-scr7 ` ` was added.
152
- * The `` Zacas ` ` extension is no longer marked as experimental.
155
+ * The ` Zvbc32e ` and ` Zvkgs ` extensions are now supported experimentally.
156
+ * Added ` Smctr ` and ` Ssctr ` extensions.
157
+ * ` -mcpu=syntacore-scr7 ` was added.
158
+ * The ` Zacas ` extension is no longer marked as experimental.
153
159
154
160
Changes to the WebAssembly Backend
155
161
----------------------------------
@@ -167,13 +173,13 @@ Changes to the X86 Backend
167
173
encoding. To use optimised NOP filling in a code section, leave off the
168
174
"fillval" argument, i.e. ` .balign N ` , ` .p2align N ` or ` .align N ` respectively.
169
175
170
- * Due to the removal of the `` x86_mmx ` ` IR type, functions with
171
- `` x86_mmx ` ` arguments or return values will use a different,
176
+ * Due to the removal of the ` x86_mmx ` IR type, functions with
177
+ ` x86_mmx ` arguments or return values will use a different,
172
178
incompatible, calling convention ABI. Such functions are not
173
179
generally seen in the wild (Clang never generates them!), so this is
174
180
not expected to result in real-world compatibility problems.
175
181
176
- * Support ISA of `` AVX10.2-256 `` and `` AVX10.2-512 ` `.
182
+ * Support ISA of ` AVX10.2-256 ` and ` AVX10.2-512 ` .
177
183
178
184
Changes to the OCaml bindings
179
185
-----------------------------
@@ -184,40 +190,40 @@ Changes to the Python bindings
184
190
Changes to the C API
185
191
--------------------
186
192
187
- * The following symbols are deleted due to the removal of the `` x86_mmx ` ` IR type:
193
+ * The following symbols are deleted due to the removal of the ` x86_mmx ` IR type:
188
194
189
- * `` LLVMX86_MMXTypeKind ` `
190
- * `` LLVMX86MMXTypeInContext ` `
191
- * `` LLVMX86MMXType ` `
195
+ * ` LLVMX86_MMXTypeKind `
196
+ * ` LLVMX86MMXTypeInContext `
197
+ * ` LLVMX86MMXType `
192
198
193
199
* The following functions are added to further support non-null-terminated strings:
194
200
195
- * `` LLVMGetNamedFunctionWithLength ` `
196
- * `` LLVMGetNamedGlobalWithLength ` `
201
+ * ` LLVMGetNamedFunctionWithLength `
202
+ * ` LLVMGetNamedGlobalWithLength `
197
203
198
- * The following functions are added to access the `` LLVMContextRef ` ` associated
199
- with `` LLVMValueRef `` and `` LLVMBuilderRef ` ` objects:
204
+ * The following functions are added to access the ` LLVMContextRef ` associated
205
+ with ` LLVMValueRef ` and ` LLVMBuilderRef ` objects:
200
206
201
- * `` LLVMGetValueContext ` `
202
- * `` LLVMGetBuilderContext ` `
207
+ * ` LLVMGetValueContext `
208
+ * ` LLVMGetBuilderContext `
203
209
204
210
* The new pass manager can now be invoked with a custom alias analysis pipeline, using
205
- the `` LLVMPassBuilderOptionsSetAAPipeline ` ` function.
211
+ the ` LLVMPassBuilderOptionsSetAAPipeline ` function.
206
212
207
213
* It is now also possible to run the new pass manager on a single function, by calling
208
- `` LLVMRunPassesOnFunction `` instead of `` LLVMRunPasses ` `.
214
+ ` LLVMRunPassesOnFunction ` instead of ` LLVMRunPasses ` .
209
215
210
216
* Support for creating instructions with custom synchronization scopes has been added:
211
217
212
- * `` LLVMGetSyncScopeID ` ` to map a synchronization scope name to an ID.
213
- * `` LLVMBuildFenceSyncScope `` , `` LLVMBuildAtomicRMWSyncScope ` ` and
214
- `` LLVMBuildAtomicCmpXchgSyncScope ` ` versions of the existing builder functions
218
+ * ` LLVMGetSyncScopeID ` to map a synchronization scope name to an ID.
219
+ * ` LLVMBuildFenceSyncScope ` , ` LLVMBuildAtomicRMWSyncScope ` and
220
+ ` LLVMBuildAtomicCmpXchgSyncScope ` versions of the existing builder functions
215
221
with an additional synchronization scope ID parameter.
216
- * `` LLVMGetAtomicSyncScopeID `` and `` LLVMSetAtomicSyncScopeID ` ` to get and set the
222
+ * ` LLVMGetAtomicSyncScopeID ` and ` LLVMSetAtomicSyncScopeID ` to get and set the
217
223
synchronization scope of any atomic instruction.
218
- * `` LLVMIsAtomic ` ` to check if an instruction is atomic, for use with the above functions.
219
- Because of backwards compatibility, `` LLVMIsAtomicSingleThread ` ` and
220
- `` LLVMSetAtomicSingleThread ` ` continue to work with any instruction type.
224
+ * ` LLVMIsAtomic ` to check if an instruction is atomic, for use with the above functions.
225
+ Because of backwards compatibility, ` LLVMIsAtomicSingleThread ` and
226
+ ` LLVMSetAtomicSingleThread ` continue to work with any instruction type.
221
227
222
228
* The ` LLVMSetPersonalityFn ` and ` LLVMSetInitializer ` APIs now support clearing the
223
229
personality function and initializer respectively by passing a null pointer.
@@ -256,20 +262,20 @@ Changes to Sanitizers
256
262
Other Changes
257
263
-------------
258
264
259
- External Open Source Projects Using LLVM 19
260
- ===========================================
265
+ External Open Source Projects Using LLVM {{env.config.release}}
266
+ ===============================================================
261
267
262
268
* A project...
263
269
264
270
Additional Information
265
271
======================
266
272
267
- A wide variety of additional information is available on the ` LLVM web page
268
- < https://llvm.org/> `_ , in particular in the ` documentation
269
- < https://llvm.org/docs/> `_ section. The web page also contains versions of the
270
- API documentation which is up-to-date with the Git version of the source
271
- code. You can access versions of these documents specific to this release by
272
- going into the `` llvm/docs/ ` ` directory in the LLVM tree.
273
+ A wide variety of additional information is available on the
274
+ [ LLVM web page ] ( https://llvm.org/ ) , in particular in the
275
+ [ documentation ] ( https://llvm.org/docs/ ) section. The web page also contains
276
+ versions of the API documentation which is up-to-date with the Git version of
277
+ the source code. You can access versions of these documents specific to this
278
+ release by going into the ` llvm/docs/ ` directory in the LLVM tree.
273
279
274
280
If you have any questions or comments about LLVM, please feel free to contact
275
- us via the ` Discourse forums < https://discourse.llvm.org >`_ .
281
+ us via the [ Discourse forums] ( https://discourse.llvm.org ) .
0 commit comments