[AMDGPU] Cleanup memory legalizer interfaces
authorTony <Tony.Tye@amd.com>
Tue, 13 Oct 2020 02:06:33 +0000 (02:06 +0000)
committerTony <Tony.Tye@amd.com>
Wed, 14 Oct 2020 06:07:51 +0000 (06:07 +0000)
commit907d799070c351b3da0b0f4b9669f230d46e6d8d
tree15b897905b14303d74e90204fa31c5468a384c9c
parent4b6e3ad9b40111852aa717fee2768f964b6d70a7
[AMDGPU] Cleanup memory legalizer interfaces

- Rename interfaces to be in terms of acquire and release.
- Improve comments.

Differential Revision: https://reviews.llvm.org/D89355
llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp