1========================= 2LLVM 13.0.0 Release Notes 3========================= 4 5.. contents:: 6 :local: 7 8.. warning:: 9 These are in-progress notes for the upcoming LLVM 13 release. 10 Release notes for previous releases can be found on 11 `the Download Page <https://releases.llvm.org/download.html>`_. 12 13 14Introduction 15============ 16 17This document contains the release notes for the LLVM Compiler Infrastructure, 18release 13.0.0. Here we describe the status of LLVM, including major improvements 19from the previous release, improvements in various subprojects of LLVM, and 20some of the current users of the code. All LLVM releases may be downloaded 21from the `LLVM releases web site <https://llvm.org/releases/>`_. 22 23For more information about LLVM, including information about the latest 24release, please check out the `main LLVM web site <https://llvm.org/>`_. If you 25have questions or comments, the `LLVM Developer's Mailing List 26<https://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send 27them. 28 29Note that if you are reading this file from a Git checkout or the main 30LLVM web page, this document applies to the *next* release, not the current 31one. To see the release notes for a specific release, please see the `releases 32page <https://llvm.org/releases/>`_. 33 34Non-comprehensive list of changes in this release 35================================================= 36.. NOTE 37 For small 1-3 sentence descriptions, just add an entry at the end of 38 this list. If your description won't fit comfortably in one bullet 39 point (e.g. maybe you would like to give an example of the 40 functionality, or simply have a lot to talk about), see the `NOTE` below 41 for adding a new subsection. 42 43 44.. NOTE 45 If you would like to document a larger change, then you can add a 46 subsection about it right here. You can copy the following boilerplate 47 and un-indent it (the indentation causes it to be inside this comment). 48 49 Special New Feature 50 ------------------- 51 52 Makes programs 10x faster by doing Special New Thing. 53 54* Windows Control-flow Enforcement Technology: the ``-ehcontguard`` option now 55 emits valid unwind entrypoints which are validated when the context is being 56 set during exception handling. 57 58Changes to the LLVM IR 59---------------------- 60 61* The ``inalloca`` attribute now has a mandatory type field, similar 62 to ``byval`` and ``sret``. 63 64* The opaque pointer type ``ptr`` has been introduced. It is still in the 65 process of being worked on and should not be used yet. 66 67Changes to building LLVM 68------------------------ 69 70* The build system now supports building multiple distributions, so that you can 71 e.g. have one distribution containing just tools and another for libraries (to 72 enable development). See :ref:`Multi-distribution configurations` for details. 73 74Changes to TableGen 75------------------- 76 77Changes to Backend Code Generation 78---------------------------------- 79 80* When lowering calls, only ABI attributes on the call itself are checked, not 81 the caller. Frontends need to make sure to properly set ABI attributes on 82 calls (and always should have). 83 84Changes to the ARM Backend 85-------------------------- 86 87During this release ... 88 89Changes to the MIPS Target 90-------------------------- 91 92During this release ... 93 94Changes to the Hexagon Target 95----------------------------- 96 97* The Hexagon target now supports V68/HVX ISA. 98 99Changes to the PowerPC Target 100----------------------------- 101 102During this release ... 103 104Changes to the X86 Target 105------------------------- 106 107During this release ... 108 109Changes to the AMDGPU Target 110----------------------------- 111 112During this release ... 113 114Changes to the AVR Target 115----------------------------- 116 117During this release ... 118 119Changes to the WebAssembly Target 120--------------------------------- 121 122During this release ... 123 124Changes to the OCaml bindings 125----------------------------- 126 127 128Changes to the C API 129-------------------- 130 131 132Changes to the Go bindings 133-------------------------- 134 135 136Changes to the FastISel infrastructure 137-------------------------------------- 138 139* FastISel no longer tracks killed registers, and instead leaves this to the 140 register allocator. This means that ``hasTrivialKill()`` is removed, as well 141 as the ``OpNIsKill`` parameters to the ``fastEmit_*()`` family of functions. 142 143Changes to the DAG infrastructure 144--------------------------------- 145 146 147Changes to the Debug Info 148--------------------------------- 149 150During this release ... 151 152Changes to the LLVM tools 153--------------------------------- 154 155* The options ``--build-id-link-{dir,input,output}`` have been deleted. 156 (`D96310 <https://reviews.llvm.org/D96310>`_) 157 158* Support for in-order processors has been added to ``llvm-mca``. 159 (`D94928 <https://reviews.llvm.org/D94928>`_) 160 161* llvm-objdump supports ``-M {att,intel}`` now. 162 ``--x86-asm-syntax`` is a deprecated internal option which will be removed in LLVM 14.0.0. 163 (`D101695 <https://reviews.llvm.org/D101695>`_) 164 165Changes to LLDB 166--------------------------------- 167 168Changes to Sanitizers 169--------------------- 170 171External Open Source Projects Using LLVM 13 172=========================================== 173 174* A project... 175 176Additional Information 177====================== 178 179A wide variety of additional information is available on the `LLVM web page 180<https://llvm.org/>`_, in particular in the `documentation 181<https://llvm.org/docs/>`_ section. The web page also contains versions of the 182API documentation which is up-to-date with the Git version of the source 183code. You can access versions of these documents specific to this release by 184going into the ``llvm/docs/`` directory in the LLVM tree. 185 186If you have any questions or comments about LLVM, please feel free to contact 187us via the `mailing lists <https://llvm.org/docs/#mailing-lists>`_. 188