Some i32 logic operations that have operators without signext are effectively 32-bit operations, and should have been handled by Select32 to generate single rlwimi. However they are combined to 64-bit operations during DAGCombineExtBoolTrunc, and BPS.Select64 is not able to detect the simple pattern.
This patch looks for opportunities on Select64 path, and forward them to Select32 for proper handling to generate single rlwimi instruction.