Enable machine code verification after PreSched2 passes.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 28 Mar 2012 23:31:15 +0000 (23:31 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 28 Mar 2012 23:31:15 +0000 (23:31 +0000)
commit78811669d5872b28c447ea9f7cfc3963c7f72841
tree27eb3252a5990ce8ba5a3c35a2827e05f32fe23f
parent3bb17380b1c87fa23ef9fe208ce6f56d352df611
Enable machine code verification after PreSched2 passes.

The late scheduler depends on accurate liveness information if it is
breaking anti-dependencies, so we should be able to verify it.

Relax the terminator checking in the machine code verifier so it can
handle the basic blocks created by if conversion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153614 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineVerifier.cpp
lib/CodeGen/Passes.cpp