diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2013-11-15 18:26:45 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2013-11-15 18:26:45 +0000 |
commit | 5cddda6d13ab66c462ccbd61255ad6e6f95e9f6f (patch) | |
tree | 7d2166d4d38a55628bfd85fd8b559ea7fb676cda /lib/Target | |
parent | 1ab6084c9e785415da3a48083d53b25a38f0fb48 (diff) | |
download | external_llvm-5cddda6d13ab66c462ccbd61255ad6e6f95e9f6f.zip external_llvm-5cddda6d13ab66c462ccbd61255ad6e6f95e9f6f.tar.gz external_llvm-5cddda6d13ab66c462ccbd61255ad6e6f95e9f6f.tar.bz2 |
R600/SI: Add VReg_96 register class to SIRegisterInfo::hasVGPRs()
This fixes a crash with GNOME settings manager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/R600/SIRegisterInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/SIRegisterInfo.cpp b/lib/Target/R600/SIRegisterInfo.cpp index 0bbad09..97c216d 100644 --- a/lib/Target/R600/SIRegisterInfo.cpp +++ b/lib/Target/R600/SIRegisterInfo.cpp @@ -90,6 +90,7 @@ bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) const { bool SIRegisterInfo::hasVGPRs(const TargetRegisterClass *RC) const { return getCommonSubClass(&AMDGPU::VReg_32RegClass, RC) || getCommonSubClass(&AMDGPU::VReg_64RegClass, RC) || + getCommonSubClass(&AMDGPU::VReg_96RegClass, RC) || getCommonSubClass(&AMDGPU::VReg_128RegClass, RC) || getCommonSubClass(&AMDGPU::VReg_256RegClass, RC) || getCommonSubClass(&AMDGPU::VReg_512RegClass, RC); |