diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-05 01:19:13 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-05 01:19:13 +0000 |
commit | 98f4d4d2db66375bedb461a9f6f9092a3c6703b2 (patch) | |
tree | fe753e2ccfa90bf1742704778170a2477834ad6d /lib/Target/Mips/MipsDelaySlotFiller.cpp | |
parent | f2f70c2493b9880333b9c052fe7cb56331198599 (diff) |
Define a statistic for the number of slots that were filled with useful
instructions (instructions that are not NOP).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsDelaySlotFiller.cpp')
-rw-r--r-- | lib/Target/Mips/MipsDelaySlotFiller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index dbcfc19d88..6cc6a4d0de 100644 --- a/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/lib/Target/Mips/MipsDelaySlotFiller.cpp @@ -27,6 +27,8 @@ using namespace llvm; STATISTIC(FilledSlots, "Number of delay slots filled"); +STATISTIC(UsefulSlots, "Number of delay slots filled with instructions that" + "are not NOP."); static cl::opt<bool> EnableDelaySlotFiller( "enable-mips-delay-filler", |