R600/SI: Assign a register class to the $vaddr operand for MIMG instructions
authorTom Stellard <thomas.stellard@amd.com>
Wed, 14 Aug 2013 23:24:17 +0000 (23:24 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 14 Aug 2013 23:24:17 +0000 (23:24 +0000)
commitdf4626ef15ba0eb5f571a3ee6314e5c388258927
treede05514081bc4a18624a799d774784522df62a98
parentb49fb7bcd5001567d2da06f6a6e1c7ba79649e1b
R600/SI: Assign a register class to the $vaddr operand for MIMG instructions

The previous code declared the operand as unknown:$vaddr, which made
it possible for scalar registers to be used instead of vector registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188425 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIDefines.h
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.h
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/llvm.SI.imageload.ll