R600/SI: Choose the correct MOV instruction for copying immediates
authorTom Stellard <thomas.stellard@amd.com>
Wed, 14 Aug 2013 23:24:24 +0000 (23:24 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 14 Aug 2013 23:24:24 +0000 (23:24 +0000)
commit636298ba64fd07d4ddcae6005e7fc1db43eb5335
treea65b1daaa89c1589cf37ebe806c871b8e5b3b705
parentdf4626ef15ba0eb5f571a3ee6314e5c388258927
R600/SI: Choose the correct MOV instruction for copying immediates

The instruction selector will now try to infer the destination register
so it can decided whether to use V_MOV_B32 or S_MOV_B32 when copying
immediates.

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