[mips] Move the code which does dag-combine for multiply-add/sub nodes to
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 30 Mar 2013 01:42:24 +0000 (01:42 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 30 Mar 2013 01:42:24 +0000 (01:42 +0000)
commit9efcd76c2cfa7129426b28811621498f2ffa1a3e
tree4c1d1db286aa93e3d2dd467caaa41e6b8676addb
parentbe8612f6f44b4cec3d462d780ce7734cdf3f2a98
[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.

llvm-svn: 178404
llvm/lib/Target/Mips/MipsISelLowering.cpp
llvm/lib/Target/Mips/MipsSEISelLowering.cpp
llvm/lib/Target/Mips/MipsSEISelLowering.h
llvm/test/CodeGen/Mips/madd-msub.ll