HomePhabricator

[SelectionDAGBuilder] Simplify loop in visitSelect back to how it was before…

Authored by craig.topper on Sep 12 2019, 2:00 PM.

Description

[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

Details

Committed
craig.topperSep 12 2019, 2:00 PM
Parents
rGd67661ee2406: [X86] Move negateFMAOpcode helper earlier to help future patch. NFCI.
Branches
Unknown
Tags
Unknown