Sorry for the delay reviewing this. LGTM, and yea, I can imagine it would be hard to craft a test case. REPOSITORY rL LLVM http://reviews.llvm.org/D7705 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/