mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
[fast-isel] Guard "exhastive" fast-isel output with -fast-isel-verbose2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,6 +63,10 @@ STATISTIC(NumDAGBlocks, "Number of blocks selected using DAG");
|
|||||||
STATISTIC(NumDAGIselRetries,"Number of times dag isel has to try another path");
|
STATISTIC(NumDAGIselRetries,"Number of times dag isel has to try another path");
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
static cl::opt<bool>
|
||||||
|
EnableFastISelVerbose2("fast-isel-verbose2", cl::Hidden,
|
||||||
|
cl::desc("Enable extra verbose messages in the \"fast\" "
|
||||||
|
"instruction selector"));
|
||||||
// Terminators
|
// Terminators
|
||||||
STATISTIC(NumFastIselFailRet,"Fast isel fails on Ret");
|
STATISTIC(NumFastIselFailRet,"Fast isel fails on Ret");
|
||||||
STATISTIC(NumFastIselFailBr,"Fast isel fails on Br");
|
STATISTIC(NumFastIselFailBr,"Fast isel fails on Br");
|
||||||
@@ -1086,7 +1090,8 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
collectFailStats(Inst);
|
if (EnableFastISelVerbose2)
|
||||||
|
collectFailStats(Inst);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Then handle certain instructions as single-LLVM-Instruction blocks.
|
// Then handle certain instructions as single-LLVM-Instruction blocks.
|
||||||
|
Reference in New Issue
Block a user