[SelectionDAGBuilder] Simplify loop in visitSelect back to how it was before r255558.
authorCraig Topper <craig.topper@intel.com>
Thu, 12 Sep 2019 21:00:32 +0000 (21:00 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 12 Sep 2019 21:00:32 +0000 (21:00 +0000)
commit344c398e2a0bbdaceae2f104b2e320a9ecb1a07a
tree8d5116771e1210c7469b196ae5b6e08dffa0f7c9
parentd67661ee2406ffac94cc8da1083a3c4887d53e4f
[SelectionDAGBuilder] Simplify loop in visitSelect back to how it was before r255558.

This code was changed to accomodate fp128 being softened to itself
during type legalization on x86-64. This was done in order to create
libcalls while having fp128 as a legal type. We're now doing the
libcall creation during LegalizeDAG and the type legalization changes
to enable the old behavior have been removed. So this change to
SelectionDAGBuilder is no longer needed.

llvm-svn: 371771
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp