RKSimon wrote: SimplifyMultipleUseDemandedBits could be enough, that would need testing. Often SimplifyDemandedBits doesn't make fallback calls to SimplifyMultipleUseDemandedBits when it could. https://github.com/llvm/llvm-project/pull/85445