mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 07:31:53 +00:00
Disable some overly-aggressive checking code. This speeds up the local
allocator from 23s to 11s on kc++ in debug mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24255 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7436b57de3
commit
9a5ef20f5e
@ -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
Block a user