junbuml added a comment. I took a closer look at this and LGTM. I tried to think about other possible negative test cases , but nothing other than outer2 and outer3 I can think of. Repository: rL LLVM https://reviews.llvm.org/D33946