[llvm-branch-commits] [clang] release/23.x: [clang] Add release notes for #212122 (PR #218229)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Aug 23 04:25:37 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Yanzuo Liu (zwuis)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/218229.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.md (+3) 


``````````diff
diff --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index 59576a299c593..17cf79d648a70 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -159,6 +159,9 @@ latest release, please see the [Clang Web Site](https://clang.llvm.org) or the
 - Fixed Itanium mangling for lambdas in default member initializers of local
   classes to use `<local-name>` encoding, preventing mangling collisions between
   distinct local classes.
+- For `x86_64-windows-msvc` targets, Clang now aligns global variables using the MSVC size‑based alignment scheme instead of the x86‑64 psABI "large array" promotion rule.
+  This makes alignment behavior fully compatible with MSVC and fixes incorrect over‑alignment / under‑alignment of globals.
+  `-fclang-abi-compat=22` restores the previous behavior. (#GH196071), (#GH171855)
 
 ### AST Dumping Potentially Breaking Changes
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/218229


More information about the llvm-branch-commits mailing list