diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-15 23:48:48 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-15 23:48:48 +0000 |
commit | 38a6fbf933e707e02ac9fc5a6326fc3b4d27266a (patch) | |
tree | ccd10ca8332e79cf61c57888519b423e4c61863b /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | 45c1f9976c7d4586d90b8f3150d438298ef21683 (diff) | |
download | llvm-38a6fbf933e707e02ac9fc5a6326fc3b4d27266a.zip llvm-38a6fbf933e707e02ac9fc5a6326fc3b4d27266a.tar.gz llvm-38a6fbf933e707e02ac9fc5a6326fc3b4d27266a.tar.bz2 |
Remove final verification in RABasic.
We now have a proper machine code verifier pass between register
allocation and rewriting.
llvm-svn: 158577
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index 6d06480..1fa54cd 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/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; } |