forked from OSchip/llvm-project
Disable some overly-aggressive checking code. This speeds up the local
allocator from 23s to 11s on kc++ in debug mode. llvm-svn: 24255
This commit is contained in:
parent
b7cad90e55
commit
35ecaa76fa
|
@ -633,7 +633,8 @@ void RA::AllocateBasicBlock(MachineBasicBlock &MBB) {
|
|||
else
|
||||
removePhysReg(i);
|
||||
|
||||
#ifndef NDEBUG
|
||||
#if 0
|
||||
// This checking code is very expensive.
|
||||
bool AllOk = true;
|
||||
for (unsigned i = MRegisterInfo::FirstVirtualRegister,
|
||||
e = MF->getSSARegMap()->getLastVirtReg(); i <= e; ++i)
|
||||
|
|
Loading…
Reference in New Issue