diff options
author | Jay Foad <jay.foad@amd.com> | 2022-01-27 14:22:55 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2022-02-04 17:17:29 +0000 |
commit | a456ace9c1f0ad501a681a4a6881486a3aa909ae (patch) | |
tree | 3b78def9eb85f2eafc95f76ff6700856a9b1d4cf /libcxx/include/__algorithm/replace.h | |
parent | 234e54bdd8c18f4725f4fdb3d2ee8fa4db7d8326 (diff) | |
download | llvm-a456ace9c1f0ad501a681a4a6881486a3aa909ae.zip llvm-a456ace9c1f0ad501a681a4a6881486a3aa909ae.tar.gz llvm-a456ace9c1f0ad501a681a4a6881486a3aa909ae.tar.bz2 |
[AMDGPU] SILoadStoreOptimizer: rewrite checkAndPrepareMerge. NFCI.
Separate the function clearly into:
- Checks that can be done on CI and Paired before the loop.
- The loop over all instructions between CI and Paired.
- Checks that must be done on InstsToMove after the loop.
Previously these were mostly done inside the loop in a very
confusing way.
Differential Revision: https://reviews.llvm.org/D118994
Diffstat (limited to 'libcxx/include/__algorithm/replace.h')
0 files changed, 0 insertions, 0 deletions