summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca')
-rw-r--r--llvm/tools/llvm-mca/BackendPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-mca/BackendPrinter.cpp b/llvm/tools/llvm-mca/BackendPrinter.cpp
index 511aefa8864..521ef04586f 100644
--- a/llvm/tools/llvm-mca/BackendPrinter.cpp
+++ b/llvm/tools/llvm-mca/BackendPrinter.cpp
@@ -156,6 +156,8 @@ void BackendPrinter::printReport() const {
unsigned Cycles = B.getNumCycles();
printGeneralStatistics(B.getNumIterations(), Cycles, B.getNumInstructions(),
B.getDispatchWidth());
+ printInstructionInfo();
+
if (EnableVerboseOutput) {
printDispatchStalls(B.getNumRATStalls(), B.getNumRCUStalls(),
B.getNumSQStalls(), B.getNumLDQStalls(),
@@ -169,10 +171,8 @@ void BackendPrinter::printReport() const {
printSchedulerUsage(B.getSchedModel(), Usage);
}
- if (RPV) {
+ if (RPV)
RPV->printResourcePressure(getOStream(), Cycles);
- printInstructionInfo();
- }
if (TV) {
TV->printTimeline(getOStream());
OpenPOWER on IntegriCloud