Handle MVT::i64 type in DAG combine for ISD::ADD. Fold 64 bit
authorRichard Osborne <richard@xmos.com>
Wed, 10 Mar 2010 18:12:27 +0000 (18:12 +0000)
committerRichard Osborne <richard@xmos.com>
Wed, 10 Mar 2010 18:12:27 +0000 (18:12 +0000)
commit850f1cd3c0c6feefd64f389ecb0e078d0b2bd9db
tree0868723515ac4101d0872fbada972a9418ce606f
parent0965200ac21fb481557f256c86d057df13bbb55e
Handle MVT::i64 type in DAG combine for ISD::ADD. Fold 64 bit
expression add(add(mul(x,y),a),b) -> lmul(x,y,a,b) if all
operands are zero extended.

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