diff options
author | Serge Rogatch <srogatch@accesssoftek.com> | 2017-01-25 20:21:49 +0000 |
---|---|---|
committer | Serge Rogatch <srogatch@accesssoftek.com> | 2017-01-25 20:21:49 +0000 |
commit | 80b96e28e31e5f0379e2fa415c590bbe5abbf558 (patch) | |
tree | 74387213a8d425d63014d2118a71d9acfcd2ed9c /lib/Target/AArch64/AArch64InstrInfo.h | |
parent | d40c764784254f785f5bc50a823f3f3cabc0d1ce (diff) |
[XRay][AArch64] More staging for tail call support in XRay on AArch64 - in LLVM
Summary:
This patch prepares more for tail call support in XRay. Until the logging part supports tail calls, this is just staging, so it seems LLVM part is mostly ready with this patch.
Related: https://reviews.llvm.org/D28948 (compiler-rt)
Reviewers: dberris, rengolin
Reviewed By: dberris
Subscribers: llvm-commits, iid_iunknown, aemerson
Differential Revision: https://reviews.llvm.org/D28947
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/AArch64InstrInfo.h')
-rw-r--r-- | lib/Target/AArch64/AArch64InstrInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/AArch64/AArch64InstrInfo.h b/lib/Target/AArch64/AArch64InstrInfo.h index 5037866925d..8d9e8e3da1c 100644 --- a/lib/Target/AArch64/AArch64InstrInfo.h +++ b/lib/Target/AArch64/AArch64InstrInfo.h @@ -87,6 +87,8 @@ public: /// Return true if this is an unscaled load/store. bool isUnscaledLdSt(MachineInstr &MI) const; + bool isTailCall(const MachineInstr &Inst) const override; + static bool isPairableLdStInst(const MachineInstr &MI) { switch (MI.getOpcode()) { default: |