[llvm] b3a08fa - [AMDGPU] Remove unused macro CNT_MASK
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 19 13:16:55 PDT 2023
Author: Jay Foad
Date: 2023-06-19T21:08:35+01:00
New Revision: b3a08fa31766f4c88d9d7412414f615437fc4af4
URL: https://github.com/llvm/llvm-project/commit/b3a08fa31766f4c88d9d7412414f615437fc4af4
DIFF: https://github.com/llvm/llvm-project/commit/b3a08fa31766f4c88d9d7412414f615437fc4af4.diff
LOG: [AMDGPU] Remove unused macro CNT_MASK
Added:
Modified:
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp b/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
index 05247d3ff1603..3908d0dc08efa 100644
--- a/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ b/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -57,8 +57,6 @@ namespace {
// associated with the operand. Used for determining whether
// s_waitcnt instruction needs to be emitted.
-#define CNT_MASK(t) (1u << (t))
-
enum InstCounterType { VM_CNT = 0, LGKM_CNT, EXP_CNT, VS_CNT, NUM_INST_CNTS };
} // namespace
More information about the llvm-commits
mailing list