[clang] [llvm] [mlir] [openmp] [OMPIRBuilder] Fix atomic compare `==` on `x86-64` long double (PR #226567)

Akash Manna via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 21:22:06 PST 2026


================
@@ -787,6 +787,7 @@ 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` was applied to a `long double` on x86-64, whose 80-bit value is stored in 16 bytes. (#GH140080)
----------------
akash-manna-sky wrote:

Both fixed: the description now says the < and > forms fail IR verification, and the release note says an under-aligned x of any type may now need libatomic.


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


More information about the cfe-commits mailing list