diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-12-22 04:03:40 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-12-22 04:03:40 +0000 |
commit | e7d8ed32f9f98d02801c2a0a2dd094689e830a21 (patch) | |
tree | 9ce77f21213198c01bd01905a5bc84f7ce6d3b53 /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | 46e6b7adef59d96f30c173ac6ade57d81d7c7b1e (diff) | |
download | bcm5719-llvm-e7d8ed32f9f98d02801c2a0a2dd094689e830a21.tar.gz bcm5719-llvm-e7d8ed32f9f98d02801c2a0a2dd094689e830a21.zip |
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.
llvm-svn: 290313
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
0 files changed, 0 insertions, 0 deletions