diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-09-26 17:55:03 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-09-26 17:55:03 +0000 |
commit | 6a0919fb9b15c259cf0519d98996f98ff06248fe (patch) | |
tree | a3a82228f8640edc57ed3c5563a8bcbb6f245e38 /llvm/lib/Support/MathExtras.cpp | |
parent | cb0ac3d1fbe29e6c0be2a24c56c06a3b26ce0e39 (diff) | |
download | llvm-6a0919fb9b15c259cf0519d98996f98ff06248fe.zip llvm-6a0919fb9b15c259cf0519d98996f98ff06248fe.tar.gz llvm-6a0919fb9b15c259cf0519d98996f98ff06248fe.tar.bz2 |
R600/SI Allow same SGPR to be used for multiple operands
Instead of moving the first SGPR that is different than the first,
legalize the operand that requires the fewest moves if one
SGPR is used for multiple operands.
This saves extra moves and is also required for some instructions
which require that the same operand be used for multiple operands.
llvm-svn: 218532
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions