[llvm] fed6cd9 - [AMDGPU] Remove unused method Waitcnt::dominates(). NFC
Stephen Thomas via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 07:12:30 PDT 2023
Author: Stephen Thomas
Date: 2023-06-20T15:10:56+01:00
New Revision: fed6cd9c1546578bcc51a08013653098659e0891
URL: https://github.com/llvm/llvm-project/commit/fed6cd9c1546578bcc51a08013653098659e0891
DIFF: https://github.com/llvm/llvm-project/commit/fed6cd9c1546578bcc51a08013653098659e0891.diff
LOG: [AMDGPU] Remove unused method Waitcnt::dominates(). NFC
Differential Revision: https://reviews.llvm.org/D153322
Added:
Modified:
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
index 0e9e0a12459c9..4f14547b8709a 100644
--- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
@@ -864,11 +864,6 @@ struct Waitcnt {
return VsCnt != ~0u;
}
- bool dominates(const Waitcnt &Other) const {
- return VmCnt <= Other.VmCnt && ExpCnt <= Other.ExpCnt &&
- LgkmCnt <= Other.LgkmCnt && VsCnt <= Other.VsCnt;
- }
-
Waitcnt combined(const Waitcnt &Other) const {
return Waitcnt(std::min(VmCnt, Other.VmCnt), std::min(ExpCnt, Other.ExpCnt),
std::min(LgkmCnt, Other.LgkmCnt),
More information about the llvm-commits
mailing list