[PowerPC] PPCVSXFMAMutate should ignore trivial-copy addends
authorHal Finkel <hfinkel@anl.gov>
Mon, 24 Aug 2015 23:48:28 +0000 (23:48 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 24 Aug 2015 23:48:28 +0000 (23:48 +0000)
We might end up with a trivial copy as the addend, and if so, we should ignore
the corresponding FMA instruction. The trivial copy can be coalesced away later,
so there's nothing to do here. We should not, however, assert. Fixes PR24544.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245907 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found