summaryrefslogtreecommitdiff
path: root/lib/Target/R600/SIInstrInfo.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-03-21 15:51:53 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-03-21 15:51:53 +0000
commitaf4c7da3064af741c27d528ba36a9cdbebd4a58a (patch)
tree7d6fa47b25f846ced7881d77ce3a75acea706f4a /lib/Target/R600/SIInstrInfo.cpp
parent1b05bb2900d8bb69818ab13e0851a5b43642d2c7 (diff)
downloadllvm-af4c7da3064af741c27d528ba36a9cdbebd4a58a.tar.gz
llvm-af4c7da3064af741c27d528ba36a9cdbebd4a58a.tar.bz2
llvm-af4c7da3064af741c27d528ba36a9cdbebd4a58a.tar.xz
R600/SI: Use SGPR_(32|64) reg clases when lowering SI_ADDR64_RSRC
The SReg_(32|64) register classes contain special registers in addition to the numbered SGPRs. This can lead to machine verifier errors when these register classes are used as sub-registers for SReg_128, since SReg_128 only uses the numbered SGPRs. Replacing SReg_(32|64) with SGPR_(32|64) fixes this problem, since the SGPR_(32|64) register classes contain only numbered SGPRs. Tests cases for this are comming in a later commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions