[PATCH] D117562: [AMDGPU] Sink immediate VGPR defs if high RP
Vang Thao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 20 16:37:04 PST 2022
vangthao updated this revision to Diff 401816.
vangthao added a comment.
Perform checking if occupancy will be increased with sinking and only sink if occupancy is increased.
Sink only the minimum needed to improve occupancy and avoid unnecessary sinking in low RP blocks.
Added more tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117562/new/
https://reviews.llvm.org/D117562
Files:
llvm/lib/Target/AMDGPU/GCNPreRAOptimizations.cpp
llvm/test/CodeGen/AMDGPU/pre-ra-opt-sink-imm.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117562.401816.patch
Type: text/x-patch
Size: 438101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220121/20a9d55b/attachment-0001.bin>
More information about the llvm-commits
mailing list