mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Count how many phis we are creating.
llvm-svn: 132748
This commit is contained in:
parent
e7e6bc3a33
commit
c96d74d84e
@ -34,6 +34,7 @@ STATISTIC(NumTails , "Number of tails duplicated");
|
||||
STATISTIC(NumTailDups , "Number of tail duplicated blocks");
|
||||
STATISTIC(NumInstrDups , "Additional instructions due to tail duplication");
|
||||
STATISTIC(NumDeadBlocks, "Number of dead blocks removed");
|
||||
STATISTIC(NumAddedPHIs , "Number of phis added");
|
||||
|
||||
// Heuristic for tail duplication.
|
||||
static cl::opt<unsigned>
|
||||
@ -246,6 +247,7 @@ bool TailDuplicatePass::TailDuplicateBlocks(MachineFunction &MF) {
|
||||
}
|
||||
}
|
||||
|
||||
NumAddedPHIs += NewPHIs.size();
|
||||
SSAUpdateVRs.clear();
|
||||
SSAUpdateVals.clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user