[x86] move combines of 'select of 2 constants' to its own function; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 7 Sep 2016 15:47:34 +0000 (15:47 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 7 Sep 2016 15:47:34 +0000 (15:47 +0000)
commit0bf9a99c7dbbffb2ba9998c2b89010b5d4c9622a
treee690c415689db718c3a3b6a1b77e5bfeb00cff50
parentd311311beb02b1ebc70b0dc4d32c17ff7e18c12c
[x86] move combines of 'select of 2 constants' to its own function; NFC

There are missing folds here and possibly folds that could be made generic.

llvm-svn: 280817
llvm/lib/Target/X86/X86ISelLowering.cpp