craig.topper added a comment. What's the advantage of doing this in InstSimplfy when InstCombine can already do it via computeKnownBits? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101840/new/ https://reviews.llvm.org/D101840