[PATCH] D118994: [AMDGPU] SILoadStoreOptimizer: rewrite checkAndPrepareMerge. NFCI.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 4 06:47:36 PST 2022


foad created this revision.
foad added reviewers: piotr, critson, kmitropoulou.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118994

Files:
  llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118994.405951.patch
Type: text/x-patch
Size: 6133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220204/5e06bb30/attachment.bin>


More information about the llvm-commits mailing list