git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103821
91177308-0d34-0410-b5e6-
96231b3b80d8
STATISTIC(NumStores, "Number of stores added");
STATISTIC(NumLoads , "Number of loads added");
+STATISTIC(NumCopies, "Number of copies coalesced");
static RegisterRegAlloc
fastRegAlloc("fast", "fast register allocator", createFastRegisterAllocator);
// LiveVirtsRegs might refer to the instrs.
for (unsigned i = 0, e = Coalesced.size(); i != e; ++i)
MBB.erase(Coalesced[i]);
+ NumCopies += Coalesced.size();
DEBUG(MBB.dump());
}