Fix fmul combines with constant splat vectors
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 16 Aug 2014 10:14:19 +0000 (10:14 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 16 Aug 2014 10:14:19 +0000 (10:14 +0000)
commit5f8a9ae17c548ec6230bc146f029e51ed575d4db
tree543c19dc9f4e0ca4c5edc47d6b4fdd256645026d
parenta3805f1c73d7bdb8fd51e5add0f0fb58b71f1086
Fix fmul combines with constant splat vectors

Fixes things like fmul x, 2 -> fadd x, x

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215820 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/Mips/msa/arithmetic_float.ll
test/CodeGen/X86/fmul-combines.ll [new file with mode: 0644]