R600/SI: Stop using VSrc_* as the default register class for types.
authorTom Stellard <thomas.stellard@amd.com>
Thu, 15 May 2014 14:41:57 +0000 (14:41 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 15 May 2014 14:41:57 +0000 (14:41 +0000)
commit29d4ed329e710bc78e537f295223448525aa486c
treeb23154ec4ae2be72a25cf06613f2df365b5a5be0
parent704fe35d8803ad6e6d09cf3a67659f04b464c458
R600/SI: Stop using VSrc_* as the default register class for types.

We now use SReg_* for integer types and VReg_* for floating-point types.
This should help simplify the SIFixSGPRCopies pass and no longer causes
ISel to insert a COPY after termiator instuctions that output a value.

This change is covered by exisitng tests.

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