summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIRegisterInfo.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-23 19:28:50 +0000
committerTom Stellard <[email protected]>2012-08-23 21:54:32 +0000
commit228a6641ccddaf24a993f827af1e97379785985a (patch)
treec9ff0fd8f4a53f42ffce6377ddf7d06165311fb3 /src/gallium/drivers/radeon/SIRegisterInfo.cpp
parent5a1edb8655aeab17bf0d90e202fb31a1adb53498 (diff)
radeon/llvm: Pull changes from external version of the backend
Diffstat (limited to 'src/gallium/drivers/radeon/SIRegisterInfo.cpp')
-rw-r--r--src/gallium/drivers/radeon/SIRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/SIRegisterInfo.cpp b/src/gallium/drivers/radeon/SIRegisterInfo.cpp
index 65e98089c90..8fe8ae584e2 100644
--- a/src/gallium/drivers/radeon/SIRegisterInfo.cpp
+++ b/src/gallium/drivers/radeon/SIRegisterInfo.cpp
@@ -54,7 +54,7 @@ const TargetRegisterClass * SIRegisterInfo::getCFGStructurizerRegClass(
{
switch(VT.SimpleTy) {
default:
- case MVT::i32: return AMDGPU::VReg_32RegisterClass;
+ case MVT::i32: return &AMDGPU::VReg_32RegClass;
}
}
#include "SIRegisterGetHWRegNum.inc"