From: Chad Rosier Date: Fri, 6 Jan 2012 23:45:47 +0000 (+0000) Subject: Add comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4bf76e0e28c2cc358e1106b64cad2fa59714df53;p=oota-llvm.git Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147696 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1e7bf667d4e..bfb6dfa0b17 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -903,6 +903,10 @@ static bool isFoldedOrDeadInstruction(const Instruction *I, } #ifndef NDEBUG +// Collect per Instruction statistics for fast-isel misses. Only those +// instructions that cause the bail are accounted for. It does not account for +// instructions higher in the block. Thus, summing the per instructions stats +// will not add up to what is reported by NumFastIselFailures. static void collectFailStats(const Instruction *I) { switch (I->getOpcode()) { default: assert (0 && " ");