woruyu wrote: Hi @RKSimon , I've finished resolving the issue in the combineVSelectWithAllOnesOrZeros fold. If there are any other issues or backend-specific problems you'd like me to look into, I’d be happy to help! https://github.com/llvm/llvm-project/pull/147472