Enable machine code verification in the entire code generator.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 28 Mar 2012 23:54:28 +0000 (23:54 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 28 Mar 2012 23:54:28 +0000 (23:54 +0000)
commit8b4c502098d8a8aee52f2251db5614d9d26c83e2
treed951e7eb1aa629ec8df161d6a0761141ab864c38
parent78811669d5872b28c447ea9f7cfc3963c7f72841
Enable machine code verification in the entire code generator.

Some targets still mess up the liveness information, but that isn't
verified after MRI->invalidateLiveness().

The verifier can still check other useful things like register classes
and CFG, so it should be enabled after all passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153615 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/Passes.cpp
lib/Target/PTX/PTXTargetMachine.cpp