# 18.1.3 Released!

**URL:** <https://discourse.llvm.org/t/18-1-3-released/78136>\
**Category:** Announcements\
**Created:** [April 4, 2024, 4:04am UTC](https://discourse.llvm.org/t/18-1-3-released/78136 "2024-04-04T04:04:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tstellar](https://sea1.discourse-cdn.com/flex021/user_avatar/discourse.llvm.org/tstellar/32/970_2.png) [@tstellar](https://discourse.llvm.org/u/tstellar)\
**Post date:** [April 4, 2024, 4:04am UTC](https://discourse.llvm.org/t/18-1-3-released/78136/1 "2024-04-04T04:04:12Z")

</div>

## We are happy to announce that LLVM 18.1.3 is now released!

This includes the main LLVM project, and its subprojects including clang, lld, libc++, and MLIR.

# Release Notes

- Fixes tsan failures for glibc’s LoongArch and certain RISC-V ports when `fstat` is used.
- `transform.structured.convert_to_loops` now properly deletes its target op.
- Fix a `llvm.usub.with.overflow.i128` wrong code generation regression that was introduced with LLVM 18.1.0.
- “MemorySanitizer on Linux can now run even when maximum-entropy address-space layout randomization is configured globally (as is becoming increasingly common); MSan can automatically re-exec ASLR-off for the process if needed, instead of aborting.”
- Fixed a Clang 18.x regression which increased binary size and stack usage with `-ftrivial-auto-var-init`. Fixes #GH84178.
- Fix for [CVE-2024-31852](https://www.cve.org/CVERecord?id=CVE-2024-31852)

# Download

Find sources and binaries on [GitHub](https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.3).

## A note on binaries

Binaries for the LLVM project are made by volunteers and will be uploaded when they have had time to test and build these binaries. They might not be available directly or not at all for each release. We suggest you use the binaries from your distribution or build your own if you rely on a specific platform or configuration.

# Next release

Next release will be 18.1.4 on the 16th of April. Please file issues you find in 18.1.3 in the [18.x milestone](https://github.com/llvm/llvm-project/milestone/23).

## Full Changelog

- Mariya Podchishchaeva: [[clang] Avoid -Wshadow warning when init-capture named same as class field (#74512) (c13b7485b879)](https://github.com/llvm/llvm-project/commit/c13b7485b87909fcf739f62cfa382b55407433c0)
- Fangrui Song: [[tsan] Refine fstat{,64} interceptors (#86625) (f249092ef26d)](https://github.com/llvm/llvm-project/commit/f249092ef26d6fe9627b0158c7c15dee241226db)
- Younan Zhang: [[clang][Sema] Fix a CTAD regression after 42239d2e9 (#86914) (76c721994a11)](https://github.com/llvm/llvm-project/commit/76c721994a11abe898848699ea82da267ebc8320)
- Congcong Cai: [[mlir][transform] replace original op to loop ops (#83537) (e0f0c463b539)](https://github.com/llvm/llvm-project/commit/e0f0c463b53987adab2e1d190c0e89165c126506)
- Xing Xue: [[OpenMP][AIX] Affinity implementation for AIX (#84984) (47aac495c895)](https://github.com/llvm/llvm-project/commit/47aac495c89554bb61ee13a3a32823feec4bf5b4)
- Andrew Ng: [[Support] Fix color handling in formatted\_raw\_ostream (#86700) (a385a917da93)](https://github.com/llvm/llvm-project/commit/a385a917da93a65ffabe1982f5b101db6d15a125)
- Martin Storsjö: [Reapply [libcxx] [modules] Fix relative paths with absolute LIBCXX\_INSTALL\_MODULES\_DIR (#86020) (0cd4babe0342)](https://github.com/llvm/llvm-project/commit/0cd4babe0342c994d28916ecbbb7cd2b91023b9b)
- Ulrich Weigand: [release/18.x: [SystemZ] Fix overflow flag for i128 USUBO (#86491) (cfaeee6a8994)](https://github.com/llvm/llvm-project/commit/cfaeee6a899485a578375f5c918a99a852ec759e)
- Arthur Eubanks: [[lld/ELF][X86] Respect outSecOff when checking if GOTPCREL can be relaxed (#86334) (767b61c159b3)](https://github.com/llvm/llvm-project/commit/767b61c159b32d1facf7680c8f1b0bfefb08ff71)
- Andrei Golubev: [[ODS][NFC] Cast range.size() to int32\_t in accumulation (#85629) (7c7c3d4a3a27)](https://github.com/llvm/llvm-project/commit/7c7c3d4a3a278f70b82b4edf5bad8915d929c97d)
- yingopq: [[Mips] Restore wrong deletion of instruction ‘and’ in unsigned min/max processing. (#85902) (0e501dbd932e)](https://github.com/llvm/llvm-project/commit/0e501dbd932ef1c6f4e747c83bf33beef0a09ecf)
- yingopq: [[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072) (fbb27d16fa12)](https://github.com/llvm/llvm-project/commit/fbb27d16fa12aa595cbd20a1fb5f1c5b80748fa4)
- George Koehler: [[PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4 (#83098) (e74c1678231a)](https://github.com/llvm/llvm-project/commit/e74c1678231ab2a7c6defe8bb90366e664780d6f)
- Chen Zheng: [[NFC][PowerPC] use script to regenerate the CHECK lines (1c7c16e58240)](https://github.com/llvm/llvm-project/commit/1c7c16e58240b649254536317160109478c156d1)
- Thurston Dang: [[msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142) (c2a57034eff0)](https://github.com/llvm/llvm-project/commit/c2a57034eff048cd36c563c8e0051db3a70991b3)
- Thurston Dang: [[msan] Add ‘MappingDesc::ALLOCATOR’ type and check it is available (#85153) (b74f6158460c)](https://github.com/llvm/llvm-project/commit/b74f6158460c8d65203d8e5218faf584bbbbe096)
- Antonio Frighetto: [[clang][CodeGen] Allow `memcpy` replace with trivial auto var init (98a15dd2d728)](https://github.com/llvm/llvm-project/commit/98a15dd2d72879f91de2b807daea937a362e4237)
- hev: [[LoongArch] Assume no-op addrspacecasts by default (#82332) (2498e3a07f3d)](https://github.com/llvm/llvm-project/commit/2498e3a07f3df2272fec885f53f09ae13214ca38)
- Jeffrey Byrnes: [[SROA]: Only defer trying partial sized ptr or ptr vector types (368dc8553c5a)](https://github.com/llvm/llvm-project/commit/368dc8553c5a9c1f8685ad399c353dd865b62d9b)
- ostannard: [[ARM] Update IsRestored for LR based on all returns (#82745) (0e16af8e4cf3)](https://github.com/llvm/llvm-project/commit/0e16af8e4cf3a66ad5d078d52744ae2776f9c4b2)
- Oliver Stannard: [Pre-commit test showing bug #80287 (6f8016fda7d5)](https://github.com/llvm/llvm-project/commit/6f8016fda7d56013a26d6f9bf2bd157aff4b13fa)
- Tom Stellard: [Bump version to 18.1.3 (#86168) (ef6d1ec07c69)](https://github.com/llvm/llvm-project/commit/ef6d1ec07c693352c4a60dd58db08d2d8558f6ea)
