IIUC, the conversion part is not part of atomic operations and fences should be put around converted atomic operations.
This also fixes atomic load of floating point values which requires fence on PowerPC.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
I think you can drop the TODOs here, at least for load/store/atomicrmw.