[all-commits] [llvm/llvm-project] 8aedad: [AMDGPU] Add functions for composing and decomposi...
Stephen Thomas via All-commits
all-commits at lists.llvm.org
Tue Jul 4 03:04:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8aedad0fa071edabeb4f6dd50b1c82bb414f00d5
https://github.com/llvm/llvm-project/commit/8aedad0fa071edabeb4f6dd50b1c82bb414f00d5
Author: Stephen Thomas <Stephen.Thomas at amd.com>
Date: 2023-07-04 (Tue, 04 Jul 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Log Message:
-----------
[AMDGPU] Add functions for composing and decomposing S_WAIT_DEPCTR operands
Add functions AMDGPU::DepCtr::encodeField*() and AMDGPU::DepCtr::decodeField*()
for each of vm_vsrc, va_vdst and sa_sdst. These are now used in
AMDGPUInsertDelayAlu and GCNHazardRecognizer so as to make working with
S_WAITCNT_DEPCTR operands easier and more readable.
Differential Revision: https://reviews.llvm.org/D154424
More information about the All-commits
mailing list