commit | 46e5f1c88deedb4499a1896cc3545410dcde6c80 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Dec 22 04:03:40 2016 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Dec 22 04:03:40 2016 +0000 |
tree | 8c011502ea81d93289755659b53f7d48ff1fc638 | |
parent | 121f8654d359602e4e970fbded1ecfacc9053186 [diff] |
AMDGPU: Swap order of operands in fadd/fsub combine FMA is canonicalized to constant in the middle operand. Do the same so fmad matches and avoid an extra combine step. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290313 91177308-0d34-0410-b5e6-96231b3b80d8