[llvm] [AMDGPU][InsertWaitCnts] Make HWEvent a BitMask (PR #203864)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 02:50:10 PDT 2026
================
@@ -746,7 +746,7 @@ class WaitcntBrackets {
unsigned ScoreLBs[AMDGPU::NUM_INST_CNTS] = {0};
unsigned ScoreUBs[AMDGPU::NUM_INST_CNTS] = {0};
- HWEventSet PendingEvents;
+ HWEvents PendingEvents = HWEvents::NONE;
----------------
Pierre-vh wrote:
I tend to prefer explicit initialization even when it's not necessary but I can see why it's not desired, so I removed it
https://github.com/llvm/llvm-project/pull/203864
More information about the llvm-commits
mailing list