================
@@ -12032,7 +12121,7 @@ OpenMPIRBuilder::InsertPointTy
OpenMPIRBuilder::createAtomicCompare(
Builder.CreateCondBr(SuccessOrFail, ExitBB, ContBB);
Builder.SetInsertPoint(ContBB);
- Builder.CreateStore(OldValue, V.Var);
+ Builder.CreateAlignedStore(OldValue, V.Var, V.Alignment);
----------------
akash-manna-sky wrote:
Done, @v_volatile and @v_volatile_double check store volatile on the padded and
non-padded fail-only paths.
https://github.com/llvm/llvm-project/pull/226567
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits