summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-03-08 15:34:38 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-03-08 15:34:38 +0000
commit7bbac07f22b82aa8b580624996e11489c4083a8c (patch)
tree652ff863a6833f1a778d38fa821dfe74437109b7 /llvm/tools/llvm-mca
parent2e1980bde1786292b05ac9c1b92ced9c31b9f622 (diff)
downloadbcm5719-llvm-7bbac07f22b82aa8b580624996e11489c4083a8c.tar.gz
bcm5719-llvm-7bbac07f22b82aa8b580624996e11489c4083a8c.zip
[llvm-mca] Emit the 'Instruction Info' table before the resource pressure view.
In future, both the summary information and the 'instruction info' table should be moved into a separate "Summary" view. llvm-svn: 327010
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