OSDN Git Service

[SelectionDAG] Extract [US]MULO expansion into TL method; NFC
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 17 Feb 2019 17:40:47 +0000 (17:40 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 17 Feb 2019 17:40:47 +0000 (17:40 +0000)
commitc6134a921b783be9fce1337b2a688f28db1a8e67
tree9a5363ac0bec9674e035091bf8d9596330242957
parent6de5879eecb1de26d10e69aebe0df7cb5d60035e
[SelectionDAG] Extract [US]MULO expansion into TL method; NFC

In preparation for supporting vector expansion.

Add an isPostTypeLegalization flag to makeLibCall(), because this
expansion relies on the legalized form using MERGE_VALUES. Drop
the corresponding variant of ExpandLibCall, which is no longer used.

Differential Revision: https://reviews.llvm.org/D58006

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354226 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp