R600/SI: Use immediates offsets for SMRD instructions whenever possible
authorTom Stellard <thomas.stellard@amd.com>
Thu, 6 Feb 2014 18:36:34 +0000 (18:36 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 6 Feb 2014 18:36:34 +0000 (18:36 +0000)
commit044e418f15083f92bbbcc9146106c15d169a0d3f
treec392b4e699d8741614371dab615cd36a941b1d13
parent728c5540eef2622fa30c0ca42727b111ff182ce1
R600/SI: Use immediates offsets for SMRD instructions whenever possible

There was a problem with the old pattern, so we were copying some
larger immediates into registers when we could have been encoding
them in the instruction.

llvm-svn: 200932
llvm/lib/Target/R600/SIInstrInfo.td
llvm/lib/Target/R600/SIInstructions.td
llvm/test/CodeGen/R600/smrd.ll [new file with mode: 0644]