summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-11-05 05:27:10 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-11-05 05:27:10 +0000
commit5b22dfa65d5c98102f12bf2e6ad7392315930fad (patch)
treefee62a626ceb9df38aec61ca39c5c6a9f0e22319 /llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
parentd41c0dbff0caf01f9592647960a05a44339413a3 (diff)
downloadbcm5719-llvm-5b22dfa65d5c98102f12bf2e6ad7392315930fad.tar.gz
bcm5719-llvm-5b22dfa65d5c98102f12bf2e6ad7392315930fad.zip
AMDGPU: Also track whether SGPRs were spilled
llvm-svn: 252145
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp')
-rw-r--r--llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
index d23b92edef3..abb3ce6740f 100644
--- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
@@ -29,6 +29,7 @@ void SIMachineFunctionInfo::anchor() {}
SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF)
: AMDGPUMachineFunction(MF),
TIDReg(AMDGPU::NoRegister),
+ HasSpilledSGPRs(false),
HasSpilledVGPRs(false),
PSInputAddr(0),
NumUserSGPRs(0),
OpenPOWER on IntegriCloud