Teach DAG combine that multiplication by 1.0 can always be constant folded.
authorOwen Anderson <resistor@mac.com>
Wed, 2 May 2012 21:32:35 +0000 (21:32 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 2 May 2012 21:32:35 +0000 (21:32 +0000)
commit363e4b90c0a8dfca87ac847001158c743491c06f
tree298a6f6456c4bede793a06dbc89bd21188b08005
parent4599613dec76683aa1630a4a02082e0dc8ec2706
Teach DAG combine that multiplication by 1.0 can always be constant folded.

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