t.p.northover added a comment. Ah sorry, it does depend on http://reviews.llvm.org/D22008. I did mean to mention that but forgot. Together they should apply cleanly. Repository: rL LLVM http://reviews.llvm.org/D22074