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

via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 30 19:04:01 PST 2026


================
@@ -4142,6 +4142,9 @@ class OpenMPIRBuilder {
     Type *ElemTy = nullptr;
     bool IsSigned = false;
     bool IsVolatile = false;
+    /// Alignment of the memory \p Var points to. When unset, the natural
+    /// alignment of \p ElemTy is assumed.
----------------
MattPD wrote:

Confirmed against 38b2e6807f64: The updated `Alignment` doc comment accurately states its `createAtomicCompare` usage and the `IRBuilder` defaults.

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


More information about the cfe-commits mailing list