summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIFrameLowering.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-06-26 17:53:59 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-06-26 17:53:59 +0000
commitf28683cf514b5e48a6474459a37e5d6bbc845b3c (patch)
tree17850a088ba2d4211d1563193e7be65bff2af664 /llvm/lib/Target/AMDGPU/SIFrameLowering.h
parent2a81089116a96fb77a838fca95c9bb09f43455fb (diff)
downloadbcm5719-llvm-f28683cf514b5e48a6474459a37e5d6bbc845b3c.tar.gz
bcm5719-llvm-f28683cf514b5e48a6474459a37e5d6bbc845b3c.zip
AMDGPU: Setup SP/FP in callee function prolog/epilog
llvm-svn: 306312
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIFrameLowering.h')
-rw-r--r--llvm/lib/Target/AMDGPU/SIFrameLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIFrameLowering.h b/llvm/lib/Target/AMDGPU/SIFrameLowering.h
index e17adbe2736..d4dfa1c7eaa 100644
--- a/llvm/lib/Target/AMDGPU/SIFrameLowering.h
+++ b/llvm/lib/Target/AMDGPU/SIFrameLowering.h
@@ -60,6 +60,10 @@ private:
/// \brief Emits debugger prologue.
void emitDebuggerPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const;
+
+public:
+ bool hasFP(const MachineFunction &MF) const override;
+ bool hasSP(const MachineFunction &MF) const;
};
} // end namespace llvm
OpenPOWER on IntegriCloud