summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-26 16:45:58 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-07-26 16:45:58 +0000
commit52ef4019fd7f1300812dd73c2c1c755319891097 (patch)
tree3060118b10e3b2048a1281dafededa9c974b9239 /llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
parent07f65718bb638eddc0c40ace9e0c28cc6c6b053a (diff)
downloadbcm5719-llvm-52ef4019fd7f1300812dd73c2c1c755319891097.tar.gz
bcm5719-llvm-52ef4019fd7f1300812dd73c2c1c755319891097.zip
AMDGPU: Make AMDGPUMachineFunction fields private
ABIArgOffset is a problem because properly fsetting the KernArgSize requires that the reserved area before the real kernel arguments be correctly aligned, which requires fixing clover. llvm-svn: 276766
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp')
-rw-r--r--llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
index 26ac5031803..1071cf88380 100644
--- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
@@ -516,7 +516,7 @@ bool SILowerControlFlow::runOnMachineFunction(MachineFunction &MF) {
}
}
- if (NeedFlat && MFI->IsKernel) {
+ if (NeedFlat && MFI->isKernel()) {
// TODO: What to use with function calls?
// We will need to Initialize the flat scratch register pair.
if (NeedFlat)
OpenPOWER on IntegriCloud