[PATCH] D153322: [AMDGPU] Remove unused method Waitcnt::dominates(). NFC
Stephen Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 02:21:15 PDT 2023
stepthomas created this revision.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
stepthomas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153322
Files:
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Index: llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
===================================================================
--- llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+++ llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
@@ -864,11 +864,6 @@
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),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153322.532834.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230620/68383d1e/attachment.bin>
More information about the llvm-commits
mailing list