dsanders abandoned this revision. dsanders added a comment. Tracing the legalizer is still something we need to improve on but this patch isn't suitable given that we aren't restricting the insertion point. https://reviews.llvm.org/D32744