aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-09-26 17:55:03 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-09-26 17:55:03 +0000
commit6a0919fb9b15c259cf0519d98996f98ff06248fe (patch)
treea3a82228f8640edc57ed3c5563a8bcbb6f245e38 /llvm/lib/Support/MathExtras.cpp
parentcb0ac3d1fbe29e6c0be2a24c56c06a3b26ce0e39 (diff)
downloadllvm-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