Define a statistic for the number of slots that were filled with useful
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 5 Oct 2011 01:19:13 +0000 (01:19 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 5 Oct 2011 01:19:13 +0000 (01:19 +0000)
instructions (instructions that are not NOP).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141149 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsDelaySlotFiller.cpp

index dbcfc19d88a513142c8f959017316f1cbff164ba..6cc6a4d0de166a92473a2e1e5380afc9a42e3367 100644 (file)
@@ -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",