[PATCH] D154083: [AMDGPU] Rematerialize scalar loads

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 00:44:54 PDT 2023


piotr updated this revision to Diff 538530.
piotr added a comment.

- Addressed review comments.
- Relaxed check to include all invariant loads, not only dereferenceable ones.
- Rebased patch over the commit with new/changed tests.
- Updated MMO with new size in the shrinking path.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154083/new/

https://reviews.llvm.org/D154083

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props-v3.ll
  llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll
  llvm/test/CodeGen/AMDGPU/remat-smrd.mir
  llvm/test/CodeGen/AMDGPU/snippet-copy-bundle-regression.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154083.538530.patch
Type: text/x-patch
Size: 32817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230710/4dc53c9f/attachment-0001.bin>


More information about the llvm-commits mailing list