Commit Graph

2 Commits

Author SHA1 Message Date
Serguei Katkov 15f1cffb3a [MemoryDependency] Relax the re-ordering with volatile store.
Volatile store does not provide any special rules for reordering with
atomics. Usual must alias anaylsis is enough here.

This makes the bahavior similar to how volatile load is handled.

Reviewers: reames, nikic
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D119818
2022-02-16 10:58:48 +07:00
Serguei Katkov 2e487da3cb [MemoryDepndency] Add a test for re-ordering with volatile load/store. 2022-02-16 10:27:11 +07:00