Skip to content

Commit

Permalink
[OpenMP][NFC] Improve debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoerfert committed Sep 23, 2021
1 parent 94c177e commit 0a16c56
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Expand Up @@ -2830,7 +2830,11 @@ struct AAKernelInfo : public StateWrapper<KernelInfoState, AbstractAttribute> {
std::string(" #PRs: ") +
std::to_string(ReachedKnownParallelRegions.size()) +
", #Unknown PRs: " +
std::to_string(ReachedUnknownParallelRegions.size());
std::to_string(ReachedUnknownParallelRegions.size()) +
", #Reaching Kernels: " +
(ReachingKernelEntries.isValidState()
? std::to_string(ReachingKernelEntries.size())
: "<invalid>");
}

/// Create an abstract attribute biew for the position \p IRP.
Expand Down

0 comments on commit 0a16c56

Please sign in to comment.