From 4b5cd87ed3fc623f9648d195dec3369fc5b534fb Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 26 Aug 2016 21:16:40 +0000 Subject: [PATCH] XXX llvm-svn: 279868 --- llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp index 90eda52..80fdd85 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]]; } } -- 2.7.4