summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-08-26 21:16:40 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-08-26 21:16:40 +0000
commit4b5cd87ed3fc623f9648d195dec3369fc5b534fb (patch)
tree6a9694e8a7f0ed1e957b54e6440dad6e80ce1d21 /llvm
parent7c463c91684103668a290a3d3463b161ee240c0a (diff)
downloadbcm5719-llvm-4b5cd87ed3fc623f9648d195dec3369fc5b534fb.tar.gz
bcm5719-llvm-4b5cd87ed3fc623f9648d195dec3369fc5b534fb.zip
XXX
llvm-svn: 279868
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
index 90eda52a8c1..80fdd854fbd 100644
--- a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
@@ -108,7 +108,7 @@ SIRegisterInfo::SIRegisterInfo() : AMDGPURegisterInfo(),
for (unsigned i = 0, e = getNumRegUnits(); i != e; ++i) {
const int *PSets = getRegUnitPressureSets(i);
for (unsigned j = 0; PSets[j] != -1; ++j) {
- PressureSetRegUnits[PSets[j]]++;
+ ++PressureSetRegUnits[PSets[j]];
}
}
OpenPOWER on IntegriCloud