From 98f4d4d2db66375bedb461a9f6f9092a3c6703b2 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 5 Oct 2011 01:19:13 +0000 Subject: 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 --- lib/Target/Mips/MipsDelaySlotFiller.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Target/Mips/MipsDelaySlotFiller.cpp') 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 EnableDelaySlotFiller( "enable-mips-delay-filler", -- cgit v1.2.3-18-g5258