[AMDGPU] Update Memory Model in AMDGPUUsage.rst
authorScott Linder <Scott.Linder@amd.com>
Thu, 22 Oct 2020 16:42:05 +0000 (16:42 +0000)
committerScott Linder <Scott.Linder@amd.com>
Thu, 29 Oct 2020 23:07:03 +0000 (23:07 +0000)
commitfb37943cc8be4d5eb1cf7adf4f0b99afcd3f2904
treee5b0d5d01b1cc63a4eef53648784c11dadb7299e
parent3591721ada99810aeddfa3d4c83eea0dbeed7f18
[AMDGPU] Update Memory Model in AMDGPUUsage.rst

Mostly NFC, but some changes are "bug fixes" rather than just e.g.
formatting changes or typo corrections.

- Fix typo "competing" -> "completing".
- Document why waintcnt is added to stores and not loads for
  sequentially consistent ordering.
- Lowercase some mentions of `buffer_gl{0,1}_inv`.
- Make mentions of `*cnt(0)` consistently include the `(0)` count.
- Remove some mentions of instructions for incorrect address spaces. For
  example, remove mention of `flat_load` from
  `load atomic acquire workgroup global`.
- Re-flow some text to get all the target columns to fit in a
  32-character wide column. Makes a future NFC patch to make these columns
  both 32-character wide more straightforward.

Modified cherry-pick of patch by Tony Tye

Reviewed By: t-tye

Differential Revision: https://reviews.llvm.org/D89596
llvm/docs/AMDGPUUsage.rst