Fix silly mistake in 31c09d03a1f [AMDGPU] Remove WaitcntBrackets::MixedPendingEvents...
authorJay Foad <jay.foad@amd.com>
Thu, 30 Apr 2020 10:40:57 +0000 (11:40 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 30 Apr 2020 10:41:14 +0000 (11:41 +0100)
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

index 5fe0a82..19cfa25 100644 (file)
@@ -264,7 +264,6 @@ public:
   }
 
   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);