Fixes issue #57666: https://github.com/llvm/llvm-project/issues/57666
The optimization applies to all constant values that equal to zero when
applied to an bitwise and instruction.
Alive2: https://alive2.llvm.org/ce/z/RrVEyX
Minimalistic Godbolt example: https://godbolt.org/z/3d6h9z4de
The formatting is off.