diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-09 13:29:22 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-09 13:29:22 +0000 |
commit | fe7822a4a25c1648c962ddef3c405e3441abadf9 (patch) | |
tree | 640d46e7560390efc02b92b4b8b64f1814a62689 /include/llvm/CodeGen | |
parent | 62f9ba9fc997c0e3cc3551f44749e06769767cd4 (diff) | |
download | llvm-fe7822a4a25c1648c962ddef3c405e3441abadf9.tar.gz |
[SelectionDAG] Extract [US]MULO expansion into TL method; NFC
In preparation for supporting vector expansion.
Also drop a variant of ExpandLibCall, of which the MULO expansions
were the only user.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353611 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/TargetLowering.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/TargetLowering.h b/include/llvm/CodeGen/TargetLowering.h index 31d43433c55..3cfc37f537e 100644 --- a/include/llvm/CodeGen/TargetLowering.h +++ b/include/llvm/CodeGen/TargetLowering.h @@ -3868,6 +3868,11 @@ public: /// integers as its arguments. SDValue expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const; + /// Method for building the DAG expansion of ISD::[US]MULO, returning the two + /// result values as a pair. + std::pair<SDValue, SDValue> expandMULO(SDNode *Node, + SelectionDAG &DAG) const; + //===--------------------------------------------------------------------===// // Instruction Emitting Hooks // |