[llvm] 462b960 - Fix silly mistake in 31c09d03a1f [AMDGPU] Remove WaitcntBrackets::MixedPendingEvents[]. NFC.
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 30 03:41:50 PDT 2020
Author: Jay Foad
Date: 2020-04-30T11:41:14+01:00
New Revision: 462b960de8c48a933543736908ca8cbda21900a4
URL: https://github.com/llvm/llvm-project/commit/462b960de8c48a933543736908ca8cbda21900a4
DIFF: https://github.com/llvm/llvm-project/commit/462b960de8c48a933543736908ca8cbda21900a4.diff
LOG: Fix silly mistake in 31c09d03a1f [AMDGPU] Remove WaitcntBrackets::MixedPendingEvents[]. NFC.
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 5fe0a828382a..19cfa25542f4 100644
--- a/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ b/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -264,7 +264,6 @@ class WaitcntBrackets {
}
bool hasMixedPendingEvents(InstCounterType T) const {
- return false;
uint32_t Events = PendingEvents & WaitEventMaskForInst[T];
// Return true if more than one bit is set in Events.
return Events & (Events - 1);
More information about the llvm-commits
mailing list