t.p.northover added a comment. Sorry, I meant to do this a few days ago but forgot to actually commit and just rediscovered it today. It's pushed as r335118 now. Repository: rL LLVM https://reviews.llvm.org/D48056