[clang] [llvm] [AMDGPU] Introduce asyncmark/wait intrinsics (PR #180467)
Sameer Sahasrabuddhe via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 23:05:08 PST 2026
================
@@ -946,8 +970,8 @@ class WaitcntBrackets {
// TODO: Could we track SCC alongside SGPRs so it's not longer a special case?
struct VMEMInfo {
- // Scores for all instruction counters.
- std::array<unsigned, NUM_INST_CNTS> Scores = {0};
+ // Scores for all instruction counters. Zero-initialized.
+ CounterValueArray Scores{};
----------------
ssahasra wrote:
It wasn't wrong. But when changing the `typedef`, it was a legitimate apportunity to "clean up" the explicit initializer with a default initializer.
https://github.com/llvm/llvm-project/pull/180467
More information about the cfe-commits
mailing list