diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-03-30 01:42:24 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-03-30 01:42:24 +0000 |
commit | d593a77b4cf3b81cd657e351e47cad25ee037ce1 (patch) | |
tree | b46c30970cbc5aa535599e0fdbe66b2a77c05c31 /lib/Target/Mips/MipsSEISelLowering.h | |
parent | f5926fd844a84adcf1ae4f193146f2877997b82c (diff) | |
download | llvm-d593a77b4cf3b81cd657e351e47cad25ee037ce1.tar.gz llvm-d593a77b4cf3b81cd657e351e47cad25ee037ce1.tar.bz2 llvm-d593a77b4cf3b81cd657e351e47cad25ee037ce1.tar.xz |
[mips] Move the code which does dag-combine for multiply-add/sub nodes to
derived class MipsSETargetLowering.
We shouldn't be generating madd/msub nodes if target is Mips16, since Mips16
doesn't have support for multipy-add/sub instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSEISelLowering.h')
-rw-r--r-- | lib/Target/Mips/MipsSEISelLowering.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSEISelLowering.h b/lib/Target/Mips/MipsSEISelLowering.h index 8f9dc90aed..186f6a343d 100644 --- a/lib/Target/Mips/MipsSEISelLowering.h +++ b/lib/Target/Mips/MipsSEISelLowering.h @@ -26,6 +26,8 @@ namespace llvm { virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; + virtual SDValue PerformDAGCombine(SDNode *N, DAGCombinerInfo &DCI) const; + virtual MachineBasicBlock * EmitInstrWithCustomInserter(MachineInstr *MI, MachineBasicBlock *MBB) const; |