https://github.com/RKSimon requested changes to this pull request. We'd be better off performing this in a "combineX86Logic" equivalent of combineX86AddSub - searching for ISD::AND/OR/XOR generics and updating them to use the X86ISD node https://github.com/llvm/llvm-project/pull/210546