nikic added a comment. Though for the title, I'd suggest invalid -> unnecessary. The assertion itself is fine, there's just no reason to check it here. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122835/new/ https://reviews.llvm.org/D122835