[flang-commits] [flang] [llvm] [OpenMP][Flang] Fix atomic operations on complex types (PR #165366)
Krish Gupta via flang-commits
flang-commits at lists.llvm.org
Tue Oct 28 23:06:59 PDT 2025
KrxGu wrote:
@kiranchandramohan , @kparzysz - I've addressed the feedback and made the requested changes. The PR now has:
**Unit test** for atomic operations on struct types (test `OMPAtomicRWStructType` in `OpenMPIRBuilderTest.cpp`)
- Verifies that `__atomic_store` and `__atomic_load` are called with the correct size (16 bytes) for `{double, double}` struct type
- Confirms the fix works for struct types similar to complex(8)
The commit history has been squashed into a single clean commit with a descriptive message. Please review when you get a chance. CI is all green, Good to Merge!!
https://github.com/llvm/llvm-project/pull/165366
More information about the flang-commits
mailing list