diff options
| author | Jeffrey Byrnes <Jeffrey.Byrnes@amd.com> | 2024-10-07 20:55:13 +0200 |
|---|---|---|
| committer | Jeffrey Byrnes <Jeffrey.Byrnes@amd.com> | 2024-10-08 10:29:50 -0700 |
| commit | 5cb6b15568c1554a2ea89fee849ed0e27b785ee0 (patch) | |
| tree | d136fe5b570b7f0c52a24e94e9209e7784fd8c79 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | |
| parent | 7e31eaab575d15384654ed989717e5579e963e72 (diff) | |
[AMDGPU] Constrain use LiveMask by the operand's LaneMask for RP calculation.
For speculative RP queries, recede may calculate inaccurate masks for subreg uses. Previously, the calculation would look at any live lane for the use at the position of the MI in the LIS. This also adds lanes for any subregs which are live at but not used by the instruction. By constraining against the getSubRegIndexLaneMask for the operand's subreg, we are sure to not pick up on these extra lanes.
For current clients of recede, this is not an issue. This is because 1. the current clients do not violate the program order in the LIS, and 2. the change to RP is based on the difference between previous mask and new mask. Since current clients are not exposed to this issue, this patch is sort of NFC.
Co-authored-by: Valery Pykhtin Valery.Pykhtin@amd.com
Change-Id: Iaed80271226b2587297e6fb78fe081afec1a9275
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions
