aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocBasic.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-15 23:48:48 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-06-15 23:48:48 +0000
commitaf06825460e1905a7739386c28253c13e3653394 (patch)
tree6b265dd189f6fad3a6a9ed27646cdc2e273c28f8 /lib/CodeGen/RegAllocBasic.cpp
parent127cdba3eb78240e727dda4e62b05393d7a938e6 (diff)
downloadexternal_llvm-af06825460e1905a7739386c28253c13e3653394.zip
external_llvm-af06825460e1905a7739386c28253c13e3653394.tar.gz
external_llvm-af06825460e1905a7739386c28253c13e3653394.tar.bz2
Remove final verification in RABasic.
We now have a proper machine code verifier pass between register allocation and rewriting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp
index 6d06480..1fa54cd 100644
--- a/lib/CodeGen/RegAllocBasic.cpp
+++ b/lib/CodeGen/RegAllocBasic.cpp
@@ -314,26 +314,6 @@ bool RABasic::runOnMachineFunction(MachineFunction &mf) {
// optional HTML output
DEBUG(RMF->renderMachineFunction("After basic register allocation.", VRM));
- // FIXME: Verification currently must run before VirtRegRewriter. We should
- // make the rewriter a separate pass and override verifyAnalysis instead. When
- // that happens, verification naturally falls under VerifyMachineCode.
-#ifndef NDEBUG
- if (VerifyEnabled) {
- // Verify accuracy of LiveIntervals. The standard machine code verifier
- // ensures that each LiveIntervals covers all uses of the virtual reg.
-
- // FIXME: MachineVerifier is badly broken when using the standard
- // spiller. Always use -spiller=inline with -verify-regalloc. Even with the
- // inline spiller, some tests fail to verify because the coalescer does not
- // always generate verifiable code.
- MF->verify(this, "In RABasic::verify");
-
- // Verify that LiveIntervals are partitioned into unions and disjoint within
- // the unions.
- verify();
- }
-#endif // !NDEBUG
-
releaseMemory();
return true;
}