Add -verify-arm-pseudo-expand.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 29 Jul 2011 00:27:32 +0000 (00:27 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 29 Jul 2011 00:27:32 +0000 (00:27 +0000)
commite69438fb87623dd6fdeeb99b647a46e877eb6183
tree207b42e178b5c2be142c55173866929fb8286b6e
parentef715972423a57febb7aa9b056d9bf6320e74817
Add -verify-arm-pseudo-expand.

This hidden llc option runs the machine code verifier after expanding
ARM pseudo-instructions, but before if-conversion.

The machine code verifier is much better at pointing out liveness errors
that can trip up the register scavenger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMExpandPseudoInsts.cpp
test/CodeGen/ARM/crash.ll