[X86] combineSelect - refactor MIN/MAX detection code to make it easier to add additi...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 17 Jun 2021 12:17:51 +0000 (13:17 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 17 Jun 2021 12:50:59 +0000 (13:50 +0100)
commitcdb4fcf9a19ca35b50754791f3986337046d9406
treeaf845f247781d05224d2f550489e791c92af76df
parent5b3cb31edbcf99ef15c2de2d29ad0ff9927ba136
[X86] combineSelect - refactor MIN/MAX detection code to make it easier to add additional select(setcc,x,y) folds. NFCI.

I need to add some additional handling to address some of the regressions from D101074
llvm/lib/Target/X86/X86ISelLowering.cpp