projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7436b57
)
Disable some overly-aggressive checking code. This speeds up the local
author
Chris Lattner
<sabre@nondot.org>
Wed, 9 Nov 2005 05:28:45 +0000
(
05:28
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 9 Nov 2005 05:28:45 +0000
(
05:28
+0000)
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
lib/CodeGen/RegAllocLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLocal.cpp
b/lib/CodeGen/RegAllocLocal.cpp
index 7288f067f6b21d6d08312782e1da0672440360ed..184d9e27ba3445eeb1dbd2570f0f2f18ef26823b 100644
(file)
--- a/
lib/CodeGen/RegAllocLocal.cpp
+++ b/
lib/CodeGen/RegAllocLocal.cpp
@@
-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)