[clang] [compiler-rt] [llvm] [PGO][AMDGPU] Add uniformity-aware offload profile format and instrumentation (PR #190708)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 06:16:09 PDT 2026
================
@@ -827,6 +836,52 @@ Error RawInstrProfReader<IntPtrT>::readRawBitmapBytes(InstrProfRecord &Record) {
return success();
}
+template <class IntPtrT>
+Error RawInstrProfReader<IntPtrT>::readRawUniformCounters(
+ InstrProfRecord &Record) {
+ Record.UniformCounts.clear();
+
+ if (UniformCountersStart == UniformCountersEnd)
+ return success();
+
----------------
arsenm wrote:
Missing tests for all these error conditions?
https://github.com/llvm/llvm-project/pull/190708
More information about the cfe-commits
mailing list