https://github.com/RKSimon commented: Ideally we need to separate the ISD::AVG knownbits handling into a followup patch - @davemgreen can you suggest any simpler tests that will create BICi nodes that the target node KnownBits handling could show? https://github.com/llvm/llvm-project/pull/76644