This patch updates the scalar atomic patterns to use the refactored load/store implementation introduced
in D93370. All existing test cases pass with when the refactored patterns are utilized.
Depends on D93370.
nit: Update atomics patterns -> Update atomic patterns in commit title.
Update patch to rebase with latest trunk.
Update patch based on dependent patch (D93370).