craig.topper added a comment. BTW, why is this in SimplifyDemandedBits instead of computeKnownBits? It doesn't use the DemandedBits. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140347/new/ https://reviews.llvm.org/D140347