[llvm-commits] [llvm] r141149 - /llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp
Akira Hatanaka
ahatanaka at mips.com
Tue Oct 4 18:19:15 PDT 2011
Author: ahatanak
Date: Tue Oct 4 20:19:13 2011
New Revision: 141149
URL: http://llvm.org/viewvc/llvm-project?rev=141149&view=rev
Log:
Define a statistic for the number of slots that were filled with useful
instructions (instructions that are not NOP).
Modified:
llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp?rev=141149&r1=141148&r2=141149&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsDelaySlotFiller.cpp Tue Oct 4 20:19:13 2011
@@ -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",
More information about the llvm-commits
mailing list