R600/SI: Add an s_mov_b32 to patterns which use the M0RegClass
authorTom Stellard <thomas.stellard@amd.com>
Fri, 21 Nov 2014 22:31:46 +0000 (22:31 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 21 Nov 2014 22:31:46 +0000 (22:31 +0000)
commitbad4e7b748f615d19ea0b3b5beebd69decd24be3
treee7d1d8d51a0814a2ac32521f4503b7bc666d94fa
parent573630a020fedfc4195a41db8d7203e20c89ba8f
R600/SI: Add an s_mov_b32 to patterns which use the M0RegClass

We need to use a s_mov_b32 rather than a copy, so that CSE will
eliminate redundant moves to the m0 register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222584 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstructions.td