ruiu added a comment. What does -Wtautological-constant-out-of-range-compare do? This assert is to prevent future programmers error, so it is always true, and that's not wrong. Sean added this assert, and I don't think we want to get rid of it. https://reviews.llvm.org/D27860