Lower add (mul a, b), c into MACCU / MACCS nodes which translate
authorRichard Osborne <richard@xmos.com>
Wed, 10 Mar 2010 11:41:08 +0000 (11:41 +0000)
committerRichard Osborne <richard@xmos.com>
Wed, 10 Mar 2010 11:41:08 +0000 (11:41 +0000)
commitebc64cf780e6e0200cd462f26e9925dcc7632f2b
tree4e8f3cd761b329eaa2c00942df285e9908d6f257
parent1250ac8a098cea157713049048e325735a8e090e
Lower add (mul a, b), c into MACCU / MACCS nodes which translate
directly to the maccu / maccs instructions. We handle this in
ExpandADDSUB since after type legalisation it is messy to
recognise these operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98150 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreISelDAGToDAG.cpp
lib/Target/XCore/XCoreISelLowering.cpp
lib/Target/XCore/XCoreISelLowering.h
test/CodeGen/XCore/addsub64.ll