OSDN Git Service

[X86] Utilize SelectionDAG::getSelect(). NFC.
authorZvi Rackover <zvi.rackover@intel.com>
Sun, 14 May 2017 21:30:38 +0000 (21:30 +0000)
committerZvi Rackover <zvi.rackover@intel.com>
Sun, 14 May 2017 21:30:38 +0000 (21:30 +0000)
commit1e086f7a921457644edcc41b554e48669d166ccd
treefd46a2a1c68a7f5629a633ae952aab4b584c9869
parent18a1f6e5cf7f0ea9d7236cec00cf181031062453
[X86] Utilize SelectionDAG::getSelect(). NFC.

Replace SelectionDAG::getNode(ISD::SELECT, ...)
and SelectionDAG::getNode(ISD::VSELECT, ...)
with SelectionDAG::getSelect(...)
Saves a few lines of code and in some cases saves the need to explicitly
check the type of the desired node.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303024 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp