I've relaxed an assert in http://llvm.org/viewvc/llvm-project?rev=209240&view=rev to workaround this issue, but it'd be good to get it fixed. I'll try to add a commitable test case here at some point. http://reviews.llvm.org/D3714