Teach DAGCombine the same multiply-by-1.0 folding trick when doing FMAs, just like...
authorOwen Anderson <resistor@mac.com>
Wed, 2 May 2012 22:17:40 +0000 (22:17 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 2 May 2012 22:17:40 +0000 (22:17 +0000)
commit062c0a5b58b756b91811bf3e6e978257c9fda3ff
tree12ccaa115206bde970b3c09b41947f216575f9f6
parentc0f0a93936a23a0935aa946a65095388b50c087f
Teach DAGCombine the same multiply-by-1.0 folding trick when doing FMAs, just like it now knows for FMULs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156029 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/fusedMAC.ll