================
@@ -859,6 +859,8 @@ documentation](CIR/index.md) for more information regarding 
ClangIR's status and
 - Fixed USR generation for declarations whose signature mentions a class-type
   non-type template parameter. (#GH212351)
 - Fixed an assertion caused by Microsoft integer literals exceeding the 
maximum value. (#GH212504)
+- Fixed an assertion failure when `#pragma omp atomic compare` used an 
equality comparison on a `long double` on x86-64, whose 80-bit value is stored 
in 16 bytes. The padding bytes no longer take part in the comparison. The 
atomic operation now uses the alignment of `x` instead of assuming the natural 
alignment of its type, so `atomic compare` on an under-aligned `x` of any type 
may now need libatomic. (#GH140080)
----------------
akash-manna-sky wrote:

Done, the note now says an x whose alignment is smaller than the size of the 
access, such as a packed member or a double on 32-bit x86, may need libatomic.


https://github.com/llvm/llvm-project/pull/226567
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to