================
@@ -1207,7 +1261,56 @@ void WaitcntBrackets::print(raw_ostream &OS) const {
}
OS << '\n';
+ OS << "Async score: ";
+ if (AsyncScore.empty())
+ OS << "none";
+ else
+ llvm::interleaveComma(AsyncScore, OS);
+ OS << '\n';
+
+ OS << "Async markers:";
+ if (AsyncMarkers.empty())
+ OS << "none";
OS << '\n';
+
+ for (const auto &Marker : AsyncMarkers) {
+ for (auto T : inst_counter_types()) {
+ unsigned MarkedScore = Marker[T];
+ switch (T) {
+ case LOAD_CNT:
+ OS << " " << (ST->hasExtendedWaitCounts() ? "LOAD" : "VM")
----------------
ssahasra wrote:
That was my initial thought too. But the format created is different for the
two debug outputs. It's difficult to reconcile them into one.
https://github.com/llvm/llvm-project/pull/173259
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits