Instead of requiring TLI.LowerCallTo to return an ISD::BUILD_PAIR,
authorDan Gohman <gohman@apple.com>
Fri, 24 Apr 2009 02:40:23 +0000 (02:40 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 24 Apr 2009 02:40:23 +0000 (02:40 +0000)
commit98d07102d67971118c73e7db84d8a05d58dcf3df
tree876e5f0226b2a0a411f7caa1fa036c5f4d029172
parent7787d4a34b8db6dec10142ef8d85f28f881897cf
Instead of requiring TLI.LowerCallTo to return an ISD::BUILD_PAIR,
use ISD::EXTRACT_ELEMENT. SelectionDAG has a special fast-path for
the cast of an EXTRACT_ELEMENT with a BUILD_PAIR operand, for the
common case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69948 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp