rsmith added a comment. If someone wants to pick this up and run with it, this patch is fine as a starting point (though will need to be rebased). CHANGES SINCE LAST ACTION https://reviews.llvm.org/D3853/new/ https://reviews.llvm.org/D3853