diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-11-22 00:22:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-11-22 00:22:52 +0000 |
commit | 8ac0d4b4fb10406278cd600214cd3ee6d76620cd (patch) | |
tree | 3cc67f5c2711872ac2c98d568e7a1481f1639869 /lib/CodeGen/SelectionDAG/LegalizeTypes.h | |
parent | 50cacb2a520b93530e79220a307c907163b9e370 (diff) |
- Move conversion of [SU]ADDO from DAG combiner into legalizer.
- Add "promote integer type" stuff to the legalizer for these nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeTypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/lib/CodeGen/SelectionDAG/LegalizeTypes.h index d217b7791b..e9af5f5347 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeTypes.h +++ b/lib/CodeGen/SelectionDAG/LegalizeTypes.h @@ -268,6 +268,9 @@ private: SDValue PromoteIntRes_SRL(SDNode *N); SDValue PromoteIntRes_TRUNCATE(SDNode *N); SDValue PromoteIntRes_UDIV(SDNode *N); + SDValue PromoteIntRes_XADDO(SDNode *N, unsigned ResNo, ISD::NodeType NTy); + SDValue PromoteIntRes_SADDO(SDNode *N, unsigned ResNo); + SDValue PromoteIntRes_UADDO(SDNode *N, unsigned ResNo); SDValue PromoteIntRes_UNDEF(SDNode *N); SDValue PromoteIntRes_VAARG(SDNode *N); |