Skip to content
Unverified Commit 28233b11 authored by Jay Foad's avatar Jay Foad Committed by GitHub
Browse files

[AMDGPU] New AMDGPUInsertSingleUseVDST pass (#72388)



Add support for emitting GFX11.5 s_singleuse_vdst instructions. This is
a power saving feature whereby the compiler can annotate VALU
instructions whose results are known to have only a single use, so the
hardware can in some cases avoid writing the result back to VGPR RAM.

To begin with the pass is disabled by default because of one missing
feature: we need an exclusion list of opcodes that never qualify as
single-use producers and/or consumers. A future patch will implement
this and enable the pass by default.

---------

Co-authored-by: default avatarScott Egerton <scott.egerton@amd.com>
parent 17fcad7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment